From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: linum and AUCTeX: line number face Date: Mon, 17 Sep 2007 12:20:07 -0400 Message-ID: References: <46ea83d1$0$16117$9b4e6d93@newsspool1.arcor-online.net> <87zlzm9uy7.fsf@escher.local.home> <86tzpt5o8j.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190046031 19355 80.91.229.12 (17 Sep 2007 16:20:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 16:20:31 +0000 (UTC) Cc: Stephan Hennig , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 17 18:20:29 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IXJKg-00086H-Ut for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 18:20:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXJKf-0000WF-J0 for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 12:20:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXJKb-0000W9-Ue for emacs-devel@gnu.org; Mon, 17 Sep 2007 12:20:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXJKa-0000VS-Ih for emacs-devel@gnu.org; Mon, 17 Sep 2007 12:20:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXJKa-0000VI-73 for emacs-devel@gnu.org; Mon, 17 Sep 2007 12:20:16 -0400 Original-Received: from x-132-204-254-242.xtpr.umontreal.ca ([132.204.254.242] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXJKX-0003qf-Eu; Mon, 17 Sep 2007 12:20:13 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 87C97B4128; Mon, 17 Sep 2007 12:20:07 -0400 (EDT) In-Reply-To: <86tzpt5o8j.fsf@lola.quinscape.zz> (David Kastrup's message of "Mon\, 17 Sep 2007 17\:02\:36 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79117 Archived-At: >> '(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