Elisp: Syntax Class

By Xah Lee. Date: . Last updated: .

Syntax Class

Each syntax class is identified by a 1-char code.

Most Important Syntax Classes
CodeIDClass
-45whitespace character.
w119word. (typically the alphabets A to Z, and other languages's letters, including Chinese characters.)
_95symbol. (characters of symbol class, plus chars of “word” class, together is programing language identifier characters.)
.46punctuation.
"34string delimiter.
(40left bracket.
)41right bracket.
<60comment start.
>62comment end.
\92escape character.

For complete list, see Syntax Class Table (ELISP Manual)

Emacs Lisp, character and syntax table