[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Font-lock customization of keywords
From: |
Andrea Sosso |
Subject: |
Re: [AUCTeX] Font-lock customization of keywords |
Date: |
Tue, 31 Jan 2006 20:06:09 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
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?
Thank you for your help.
Andrea Sosso
_______________________________________________________________
Istituto Elettrotecnico Nazionale "Galileo Ferraris"
Settore Metrologia Elettrica
Strada delle Cacce, 91
10135 Torino
ITALY
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phone: +39 011 3919436 Fax: +39 011 3919436 /3919448 /346384
E-mail: address@hidden
Ralf Angeli wrote:
* Andrea Sosso (2006-01-24) writes:
How to setup a custom face for TeX keywords w/o effects on global
keyword face settings?
Can you describe more clearly and detailed what you want to achieve?
What is global (and local) in your context?