[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Re: Syntax specification for font locking
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX-devel] Re: Syntax specification for font locking |
Date: |
Sun, 20 May 2007 15:20:12 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.96 (gnu/linux) |
* David Kastrup (2007-05-20) writes:
> Ralf Angeli <address@hidden> writes:
>
>> * Ralf Angeli (2007-04-29) writes:
>>
>> [macro syntax specifier]
>>
>>> Another
>>> possibility would be to use single characters per token. So in case
>>> of \newcommand such a string could look like "\\*{|\\[[{".
>>
>> As a starting point I've implemented support for that syntax within the
>> current font-latex.el.
>
> Well, it is probably not exactly making the brace-matching happy, but
> maybe the consequences in Elisp strings are less dire than in
> preview-latex's TeX configuration files.
I would have preferred a syntax including closing braces as well. But
the current implementation allows for describing the syntax of
\newcommand with "*|{\\[[{" the former implementation required
"* {}|\\ [] [] {}" which is really unpleasent. If somebody has a better
idea, I'm all ears.
--
Ralf