emacs-devel
[Top][All Lists]
Advanced

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

Re: linum and AUCTeX: line number face


From: Stephen Berman
Subject: Re: linum and AUCTeX: line number face
Date: Tue, 18 Sep 2007 00:54:19 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

On Mon, 17 Sep 2007 12:20:07 -0400 Stefan Monnier <address@hidden> wrote:

>>> '(linum ((t (:inherit default))))
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>> That is not the default face.
>
>> Try (copy-face 'default 'linum) or (put 'linum 'face-alias 'default instead).
>
>> Inheriting will, of course, be overridden by any new properties.
>> That's the whole point of it.
>
> I don't think I agree: the inherited `default' should only be overridden by
> new properties set *in the linum face* and in his above example there
> are none so there sould be no difference between those two cases and using
> inherit is a lot cleaner.

There are indeed no difference AFAICT, and the same goes for faces
that exhibit the problem, e.g., (copy-face 'shadow 'linum) shows it
just as does customizing linum face to inherit from shadow face.

Steve Berman





reply via email to

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