emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: face-alias issues


From: Kim F. Storm
Subject: Re: face-alias issues
Date: Thu, 23 Jun 2005 09:56:55 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> Miles Bader wrote:
>
>    > Have all faces that were renamed been given suitable aliases?
>    > Otherwise, the feature may not work too well in practice.
>
>    All the ones I renamed were.
>
> I forgot one thing, however.  For the patch I sent to work for an
> alias, the alias needs to be defined when .emacs is read.  That means
> that for the patch to work, all alias declarations for defface'd faces
> that are not defined in pre-loaded files should be auto-loaded.  

SIGH!  Looks like Emacs got infected with the face-alias virus -- and
it is rapidly spreading...

>                                                                  The
> same is true for variable aliases for defcustomed variables.  I
> probably should put a note about that somewhere in the Elisp manual
> where it talks about variable and face aliases.

Alternatively, if we use a function deffacealias instead of the
current method, it could simply check if the old face had been
modified and transfer the mods to the new face.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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