[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditional font locking
From: |
Stefan Monnier |
Subject: |
Re: Conditional font locking |
Date: |
Tue, 04 May 2004 16:50:06 GMT |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> I am posting this here because I am not sure what category this
> problem actually is. A part of it is a bug report (because
> `tex-mode.el' gets it wrong),
IIUC this is with Emacs-CVS, so please report this bug to
emacs-pretest-bug@gnu.org. We're in feature freeze so bug-fixing is
quite fashionable.
> another part is a plea for a pointer to the right documentation in case
> the problem already is solved and even another part is a request for
> enhancement of `font-lock.el' in case it is not solved yet.
It's not solved yet. The "solutions" right now are just completely ad-hoc
and specific to each case, basically. Even the `verbatim' handling is
a really ugly hack. I've been toying with ideas for improving font-lock
to deal with such things (basically dealing with multiline thingies, tho
the way font-lock-multiline does it is completely insufficient: a notion of
"state" has to be added, as you suggest) but nothing's come out of it yet.
> In case the problem is better suited for emacs-devel or emacs-pretest-bug,
> please redirect.
emacs-devel@gnu.org is the right place for discussions.
Stefan