[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linum and AUCTeX: line number face
From: |
Stefan Monnier |
Subject: |
Re: linum and AUCTeX: line number face |
Date: |
Mon, 17 Sep 2007 12:20:07 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
>> '(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.
Stefan
- Re: linum and AUCTeX: line number face, Stephan Hennig, 2007/09/16
- Re: linum and AUCTeX: line number face, Stephen Berman, 2007/09/16
- Re: linum and AUCTeX: line number face, Stephan Hennig, 2007/09/17
- Re: linum and AUCTeX: line number face, David Kastrup, 2007/09/17
- Re: linum and AUCTeX: line number face,
Stefan Monnier <=
- Re: linum and AUCTeX: line number face, Stephen Berman, 2007/09/17
- Re: linum and AUCTeX: line number face, Stephan Hennig, 2007/09/17
- Re: linum and AUCTeX: line number face, Stephen Berman, 2007/09/17
- Re: linum and AUCTeX: line number face, Stephan Hennig, 2007/09/18
- Re: linum and AUCTeX: line number face, Stephen Berman, 2007/09/17