* 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
> instances leaving the braces off happens to work, even though this is
> used only for \foo in practice.

So there is no general rule.  Too bad.  Maybe implementing a format
specifier for something like a "relaxed" mandatory argument which
recognizes both a TeX group and a macro would help.  A cheap band-aid
as an alternative could be to do the error indication only in LaTeX
mode and not in Plain TeX mode.  Of course this won't help with the
arguments of \newcommand and similar macros not being fontified.

-- 
Ralf


_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to