[Top][All Lists]

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

Re: [AUCTeX-devel] bug in auctex highlighting

From: Ralf Angeli
Subject: Re: [AUCTeX-devel] bug in auctex highlighting
Date: Sat, 22 May 2010 15:47:31 +0200

* Ralf Hemmecke (2010-05-21) writes:

> last night I sent the following bug to address@hidden, but I cannot
> see it see it here

The list is moderated for unknown mail addresses, so you have to wait
until the moderator releases your message.

> Is there somewhere a proper bugtracker for auctex?


> Or must I assume that
> auctex manages issues just via mailing lists?


> Anyway, I have not much experience with auctex and elisp either, but
> could somebody tell me about the logic how verbatim environments are
> recognised?

For font locking?  This is done with syntactic keywords.  The regular
expressions for that are built in `font-latex-set-syntactic-keywords'
and hooked into the respective font-lock mechanism.  See font-lock.el
for more info on font locking with syntactic keywords.

> There seems to be LaTeX-verbatim-p in latex.el relevant for this
> purpose. but what is the actual workflow and where is it stored that the
> cursor is currently inside a verbatim environment?

That's not stored anywhere.  At some places in the code `TeX-verbatim-p'
is called to check this or it is checked if the verbatim face is


reply via email to

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