Previous: Compositions, Up: Language Modes [Contents][Index]
Syntax tables do for input what compositions do for output: They allow you to teach custom notations to Calc’s formula parser. Calc keeps a separate syntax table for each language mode.
(Note that the Calc “syntax tables” discussed here are completely unrelated to the syntax tables described in the Emacs manual.)
The Z S (calc-edit-user-syntax
) command edits the
syntax table for the current language mode. If you want your
syntax to work in any language, define it in the Normal language
mode. Type C-c C-c to finish editing the syntax table, or
C-x k to cancel the edit. The m m command saves all
the syntax tables along with the other mode settings;
see General Mode Commands.