From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: linum and AUCTeX: line number face Date: Tue, 18 Sep 2007 00:54:19 +0200 Message-ID: <87myvkykbo.fsf@escher.local.home> 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 1190070014 19574 80.91.229.12 (17 Sep 2007 23:00:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 23:00:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 01:00:13 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 1IXPZb-0002X2-6l for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 01:00:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXPZa-00069G-3V for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 19:00:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXPZX-00069A-FG for emacs-devel@gnu.org; Mon, 17 Sep 2007 19:00:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXPZW-00068w-3g for emacs-devel@gnu.org; Mon, 17 Sep 2007 19:00:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXPZV-00068t-Uw for emacs-devel@gnu.org; Mon, 17 Sep 2007 19:00:05 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IXPZV-00075a-A5 for emacs-devel@gnu.org; Mon, 17 Sep 2007 19:00:05 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IXPZS-0003Mx-0i for emacs-devel@gnu.org; Tue, 18 Sep 2007 01:00:02 +0200 Original-Received: from i577bced7.versanet.de ([87.123.206.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Sep 2007 01:00:02 +0200 Original-Received: from Stephen.Berman by i577bced7.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Sep 2007 01:00:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bced7.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:79153 Archived-At: On Mon, 17 Sep 2007 12:20:07 -0400 Stefan Monnier 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