* Uwe Brauer (2005-02-02) writes:
>>>>> "Ralf" == Ralf Angeli
<dev.null(a)iwi.uni-sb.de> writes:
Ralf> Here is one of my all time favorites regarding font locking which is
Ralf> working fine in Emacs but fails in XEmacs, i.e. fontification is
Ralf> spilling out of the verbatim environment:
Ralf> \documentclass{article}
Ralf> \begin{document}
Ralf> \begin{verbatim}
Ralf> echo $LANG
Ralf> \end{verbatim}
Ralf> \end{document}
Ok, you mean although this is an verbatim env, xemacs treats it as it
were none?
More or less. Fontification involves several passes. A syntactic
keyword pass, a syntactic pass and a keyword pass. In Emacs the
syntactic keyword pass will apply a verbatim face to the contents of
the verbatim environment. In the keyword pass happening after that,
fontification will only be done if there is no verbatim face present.
But in XEmacs the syntactic keyword pass is not working (at least with
AUCTeX) and fontification in the verbatim environment cannot be
inhibited as the test for the verbatim face fails.
Right I see the same, however my xemas does not freeze or
anything of this sort :)
The backtrace I posted is not related to font locking. It seems to be
a problem with shy groups in the regular expressions.
--
Ralf