From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Re: Face precedence Date: Sun, 07 Nov 2004 08:31:41 +0100 Message-ID: <87is8i3yjm.fsf@ID-87814.user.uni-berlin.de> References: <87pt2ra2b6.fsf@ID-87814.user.uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1099816676 17663 80.91.229.6 (7 Nov 2004 08:37:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Nov 2004 08:37:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 07 09:37:51 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CQiYZ-0000Fj-00 for ; Sun, 07 Nov 2004 09:37:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQigr-00023i-16 for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Nov 2004 03:46:25 -0500 Original-Newsgroups: gnu.emacs.help X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6; Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:yfoH2XmBV3LhYa2J6BQ1Hr1Byis= Original-NNTP-Posting-Host: 84.57.68.13 Original-X-Trace: 7 Nov 2004 09:31:56 +0100, 84.57.68.13 Original-Lines: 52 Original-X-Complaints-To: abuse@arcor-ip.de Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!proxad.net!news2.telebyte.nl!news-fra1.dfn.de!newsfeed.arcor-ip.de!news.arcor-ip.de!84.57.68.13 Original-Xref: shelby.stanford.edu gnu.emacs.help:126408 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21797 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21797 Matthew Calhoun writes: [...] > (global-hl-line-mode 1) Ah! Yes, `hl-line-mode' is part of Emacs. It is a buffer-local minor mode that highlights the line where point is in. It is implemented with an overlay. > this face is used to highlight the line the cursor is on. It sounds > like it's meant to be used for other purposes as well, but that's the > only place it shows up under my configuration. Yes, that face is also used for mouse-highlighting in some places, for example in *Help* buffers. > The documentation you pointed out to me seems to indicate that overlay > priorities are the way to control this [...] Unless you know more than you told, I would think that this conclusion is premature. Maybe there is something going wrong in your setup and we should figure out what it is. If I understand you correctly, you have a light background and a dark foreground for the default face and a dark background and a light foreground for the highlight face. You said that in some cases the dark background of the highlight face does not take effect. Is that /everywhere/, where a face other than the default face is in the buffer? Or does this apply only for a few faces? Or only in some modes? If the latter: which mode? If the former: you can examine the text properties a point with M-x list-text-properties-at (assuming you are using a released version of Emacs 21). Please post that together with a description of what you see. Finally, can you reproduce the behaviour you described starting from emacs -q --no-site-file? Can you set up a small test case so that I can reproduce that behaviour? FYI, hl-line-mode works as expected here. [Please don't top-post. For people who read or skim hundreds of netnews postings a day this makes more work in getting the context of a posting. Please do rather cut out everything but the most relevant parts of a quoting and write your answers below.] Oliver -- 17 Brumaire an 213 de la Révolution Liberté, Egalité, Fraternité!