Re: [AUCTeX-devel] Mandatory arguments in TeX/LaTeX and font locking

2006-05-01 Thread Ralf Angeli
* David Kastrup (2006-05-01) writes: > Ralf Angeli <[EMAIL PROTECTED]> writes: > >> \newcommand{\foo}{\bar} >> \newcommand{\foo}\bar >> \newcommand\foo{\bar} >> \newcommand\foo\bar >> as being equivalent and correct? [...] > Still, the manual only recommends the braced versions, and in both > inst

Re: [AUCTeX-devel] Mandatory arguments in TeX/LaTeX and font locking

2006-05-01 Thread David Kastrup
Ralf Angeli <[EMAIL PROTECTED]> writes: > The font locking code in the multiline-font-lock branch currently > marks stuff like > \newcommand\foo{\bar} > as erroneous because the syntax of \newcommand is specified as > "*{}[][]{}" (meaning there is a starred version of the command and the > macro e

[AUCTeX-devel] Mandatory arguments in TeX/LaTeX and font locking

2006-05-01 Thread Ralf Angeli
The font locking code in the multiline-font-lock branch currently marks stuff like \newcommand\foo{\bar} as erroneous because the syntax of \newcommand is specified as "*{}[][]{}" (meaning there is a starred version of the command and the macro expects a mandatory argument followed by to optional a