all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: linum and AUCTeX: line number face
Date: Tue, 18 Sep 2007 00:54:19 +0200	[thread overview]
Message-ID: <87myvkykbo.fsf@escher.local.home> (raw)
In-Reply-To: jwvvea9w9i9.fsf-monnier+emacs@gnu.org

On Mon, 17 Sep 2007 12:20:07 -0400 Stefan Monnier <monnier@iro.umontreal.ca> 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	other threads:[~2007-09-17 22:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <46ea83d1$0$16117$9b4e6d93@newsspool1.arcor-online.net>
2007-09-16 10:30 ` linum and AUCTeX: line number face Stephan Hennig
2007-09-16 21:11   ` Stephen Berman
2007-09-17 13:57     ` Stephan Hennig
2007-09-17 15:02       ` David Kastrup
2007-09-17 16:20         ` Stefan Monnier
2007-09-17 22:54           ` Stephen Berman [this message]
2007-10-11 16:30             ` Stephan Hennig
2007-09-17 17:38         ` Stephan Hennig
2007-09-17 22:54           ` Stephen Berman
2007-09-18  9:51             ` Stephan Hennig
2007-09-17 22:54       ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87myvkykbo.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.