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:07 +0200 Message-ID: <87odg0ykc0.fsf@escher.local.home> References: <46ea83d1$0$16117$9b4e6d93@newsspool1.arcor-online.net> <87zlzm9uy7.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190069679 18660 80.91.229.12 (17 Sep 2007 22:54:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 22:54:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 00:54:38 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 1IXPU5-0000lh-Nr for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 00:54:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXPU4-0003Yd-GW for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 18:54:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXPU1-0003YF-8V for emacs-devel@gnu.org; Mon, 17 Sep 2007 18:54:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXPTz-0003Vw-Mp for emacs-devel@gnu.org; Mon, 17 Sep 2007 18:54:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXPTz-0003Vt-Jj for emacs-devel@gnu.org; Mon, 17 Sep 2007 18:54:23 -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 1IXPTy-00069B-Ve for emacs-devel@gnu.org; Mon, 17 Sep 2007 18:54:23 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IXPTt-0002oR-R2 for emacs-devel@gnu.org; Tue, 18 Sep 2007 00:54:17 +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 00:54:17 +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 00:54:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 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:79151 Archived-At: On Mon, 17 Sep 2007 15:57:02 +0200 Stephan Hennig wrote: > Stephen Berman schrieb: [...] >> I don't know just which other faces behave like default and which >> like shadow (though the face (not just the weight) bold seems to >> inherit even more attributes than shadow), nor do I know why there is >> this difference. > > Hm, could it be that 'default' in general refers to a specific font > whereas 'shadow' doesn't (Font Family is *)? I agree that 'shadow' > shouldn't be an explicit face definition, but modify "what's already > there", e.g., change a property of text set in default face. But > inheriting font-locking related properties (and only for /some/ fonts) > is bad, IMHO. Are there means to toggle that behaviour? I don't know exactly what (inheriting from) default means with respect to faces. But in any case, a specific font doesn't have color attributes, yet the default foreground (on a light background) is black, and as you observed in another post, explicitly setting the foreground to black shows the problem. I'm convinced this is a bug, though I have no idea just what causes it. >> But I do know that this has to do generally with display properties >> and display margins, not just with linum.el. > > I guess, I've never met those 'display margins' before. Could you > please give a hint about what you're speaking to somebody not so good at > managing Emacs (yet)? The left display margin (by default to the left of the left fringe) is where you see the line numbers in linum-mode (starting with version 0.9a). For info type `C-h i RET m elisp m Display Property' and from there `m Display Margins'. Steve Berman