9.5 System Defined Character Attributes
These are predefined in Hemlock:
[annotate]
- Whitespace
-
A value of 1 indicates the character is whitespace. [annotate]
- Word Delimiter
-
A value of 1 indicates the character separates words (see section
15.3). [annotate]
- Digit
-
A value of 1 indicates the character is a base ten digit. This may be
shadowed in modes or buffers to mean something else. [annotate]
- Space
-
This is like Whitespace, but it should not include Newline.
Hemlock uses this primarily for handling indentation on a line. [annotate]
- Sentence Terminator
-
A value of 1 indicates these characters terminate sentences (see section
15.3). [annotate]
- Sentence Closing Char
-
A value of 1 indicates these delimiting characters, such as "
or ), may follow a Sentence Terminator (see section
15.3). [annotate]
- Paragraph Delimiter
-
A value of 1 indicates these characters delimit paragraphs when they begin
a line (see section 15.3). [annotate]
- Page Delimiter
-
A value of 1 indicates this character separates logical pages (see section
15.4) when it begins a line. [annotate]
- Scribe Syntax
This uses the following symbol values:
[annotate]
- nil
- These characters have no interesting properties. [annotate]
- :escape
- This is @ for the Scribe formatting language. [annotate]
- :open-paren
- These characters begin delimited text. [annotate]
- :close-paren
- These characters end delimited text. [annotate]
- :space
- These characters can terminate the name of a formatting command. [annotate]
- :newline
- These characters can terminate the name of a formatting command.
[annotate]
[annotate]- Lisp Syntax
This uses symbol values from the following:
[annotate]
- nil
- These characters have no interesting properties. [annotate]
- :space
- These characters act like whitespace and should not include
Newline. [annotate]
- :newline
- This is the Newline character. [annotate]
- :open-paren
- This is ( character. [annotate]
- :close-paren
- This is ) character. [annotate]
- :prefix
- This is a character that is a part of any form it precedes --
for example, the single quote, '. [annotate]
- :string-quote
- This is the character that quotes a string literal,
". [annotate]
- :char-quote
- This is the character that escapes a single character,
\. [annotate]
- :comment
- This is the character that makes a comment with the rest of the
line, ;. [annotate]
- :constituent
- These characters are constitute symbol names.
[annotate]
[annotate]