[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 2007-06-20; Fontify error
From: |
Uwe Siart |
Subject: |
Re: [Bug-AUCTeX] 2007-06-20; Fontify error |
Date: |
Sat, 23 Jun 2007 14:58:57 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (windows-nt) |
Ralf Angeli <address@hidden> writes:
> * Uwe Siart (2007-06-23) writes:
>
>> in the current AUCTeX snapshot the backslash of the \maketitle makro is
>> highlighted in font-latex-warning-face while the rest of the command is in
>> font-lock-keyword-face.
>
> Not in my case. Did you customize `font-latex-user-keyword-classes'?
No, I didn't. 'font-latex-user-keyword-classes' is in its standard
state. The AUCTeX related variables I have customized are
,----[ snip from Uwe's .emacs ]
| '(LaTeX-float nil)
| '(LaTeX-verbatim-environments (quote ("verbatim" "verbatim*" "Enter"
"keyboard" "Code")))
| '(TeX-electric-sub-and-superscript nil)
| '(TeX-fold-env-spec-list (quote (("[comment]" ("comment")) ("[figure]"
("figure")) ("[table]" ("table")) ("[equation]" ("equation")) ("[frame]"
("frame")))))
| '(TeX-fold-type-list (quote (env macro comment)))
| '(TeX-newline-function (quote newline-and-indent))
| '(TeX-quote-after-quote t)
| '(font-latex-fontify-script nil)
`----
The highlighting seems to depend on the material around \maketitle. I
tried out the following: When I open a new file with
\documentclass{article}
\begin{document}
\author{}
\date{}
\title{}
\maketitle
\end{document}
then everything looks ok, \maketitle is highlighted entirely in
font-latex-sedate-face. When I remove the '{}' e.g. from \author{} then
the backslash of \author is in font-latex-warning-face.
--
Uwe