[Top][All Lists]

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

Re: [AUCTeX] Font-lock customization of keywords

From: Ralf Angeli
Subject: Re: [AUCTeX] Font-lock customization of keywords
Date: Tue, 31 Jan 2006 18:43:55 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Please keep the mailing list copied.

* Andrea Sosso (2006-01-31) writes:

> Sorry for the unclear message..I'll try to clarify.
> I use AUCTeX for writing LaTeX documents and I'd like to use a
> somewhat fainter color for keywords. I think that gives a neater
> appearance to the document and helps reading.
> Now, if I ask for the face properties of a LaTeX keyword, good old
> Emacs says it's:
>    (font-lock-keyword-face font-latex-sedate-face)
> which I don't understand completely (I must admit), but presumably
> means it's defined to be the same as the global Emacs keyword face
> and, in case of undefined keyword face, the second in the list has to
> be used. Actually, the appearance of LaTeX keywords exactly matches
> the  general settings for keywords (e.g. Emacs Lisp), not the
> sedate-face AUCTeX settings.
> But I don't like faint keywords in modes for programming languages,
> where they are a substantial part of the code. How can I change LaTeX
> setting without affecting other modes?

Which type of Emacs are you using?  With XEmacs it would be possible,
with GNU Emacs not.

Perhaps I should reintroduce face variables until GNU Emacs supports
buffer-local faces.  Or provide special font-latex-* faces which
inherit from the standard faces.


reply via email to

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