[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] 11.83; Paren matching in AUCTeX

From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] 11.83; Paren matching in AUCTeX
Date: Fri, 02 Mar 2007 22:01:25 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

* Shreevatsa R. (2007-03-02) writes:

> But just for information, could you say what purpose the \ currently
> serves (what would break without it, and why the "b" in "\begin" should
> be considered an escaped character), and why you think \[ \] should not
> be matched (the difficulty of its implementation aside)?

In general escape characters are used to remove the special syntactic
meaning of certain characters.  To express e.g. that \} is not a
closing brace or that \" is not a string quote.  See also
(info "(elisp)Syntax Class Table").  Without recognition of \ as an
escape character e.g. commands for moving by balanced parentheses
might fail.  Try e.g. `C-M-f' on "{foo{bar}" in LaTeX mode.  And these
movement commands are used extensively e.g. for font locking but also
for other editing purposes.  There are other examples like recognition
of sentence endings, commands skipping certain syntax classes
etc. etc. etc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]