What is the Raw Syntax Descriptor for a char at POS? Can I have some examples so I can understand what this thing is all about?
In order to understand
syntax, you need to understand what the
syntax of a
char is. You can find this with how to use the command
C-u C-x =. The
syntax of the same char could be different based on the
mode in use.
C-x = runs the command what-cursor-position (found in global-map),
which is an interactive compiled Lisp function in
It is bound to
(what-cursor-position &optional DETAIL)
Print info on cursor position (on screen and within buffer). Also describe the character after point, and give its character code in octal, decimal and hex. If
what-cursor-show-names is non-nil, additionally show the name of the character.
For a non-ASCII multibyte character, also give its encoding in the buffer`s selected coding system if the coding system encodes the character safely. If the character is encoded into one byte, that code is shown in hex. If the character is encoded into more than one byte, just "..." is shown.
In addition, with prefix argument, show details about that character in Help buffer. See also the command
Probably introduced at or before Emacs version 27.1.