auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Re: Renaming font-latex-title-fontify and font-latex-titl


From: Ralf Angeli
Subject: [AUCTeX-devel] Re: Renaming font-latex-title-fontify and font-latex-title-N-face
Date: Wed, 27 Apr 2005 13:55:09 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

* Reiner Steib (2005-04-27) writes:

> I don't know why Peter used the word "title" in this variable and
> faces.  "section" would be more appropriate, I think.  Ralf recently
> changed[1] the doc string for the faces to "Face for sectioning
> commands at level %s" (from "Face for LaTeX titles at level %s.").  I
> agree to that change and additionally propose to rename
> `font-latex-title-fontify' to `font-latex-fontify-section' and
> `font-latex-title-N-face' to `font-latex-section-N-face'.

I'd use "sectioning" instead of "section" in order to make it clearer
that not only the \section level is affected but sectioning commands
in general.

We should define aliases if possible.  I don't want to exasperate all
the people who customized `font-latex-title-*-face'.  This should
work:

(put 'font-latex-title-*-face 'face-alias 'font-latex-sectioning-*-face)

> [1] In revision 5.107.  BTW: `font-latex-title-5-face' still has the
>     old doc string.

While you are at it ... (c;

-- 
Ralf





reply via email to

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