Re: context coloring leaks out of verbatim environment

Ralf Angeli <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
[Redirecting to the mailing list.  Please keep that in Cc with future
replies.]

* Ulrich Scholz (2005-02-25) writes:

>> I checked this by starting Emacs with `emacs -q
>> -no-site-file', then typing `M-: (require 'tex-site) RET' and `M-x
>> global-font-lock-mode RET'.
>> Ulrich, do see the same problem in case you carry out the steps
>> described above?
>
> With these steps, the coloring does not leak.  But actually, the verbatim
> environment is not colored at all.  In other words, the coloring of the file
> differs between using my .gnu-emacs-custom and not using it.  So I guess the
> problem is on my side.

Are you sure that the commands above succeeded?  If tex-site.el is not
found, you will end up with Emacs' own LaTeX mode.  And your
description of the resulting fontification very much looks like this.
Is there still a "LaTeX" menu?

>> BTW, you don't have parsing enabled as described on the first page of
>> AUCTeX's manual.  You should do that if you want to get the full
>> functionality of AUCTeX.
>
> I added the lines 
>
>      (setq TeX-auto-save t)
>      (setq TeX-parse-self t)
>      (setq-default TeX-master nil)
>
> to my .gnu-emacs-custom but my problem is still there

The suggestion was unrelated to the problem.

-- 
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.