From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10041 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Group highlighting Date: 01 Mar 1997 01:01:24 +0100 Sender: larsi@proletcult.slip.ifi.uio.no Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035149973 22003 80.91.224.250 (20 Oct 2002 21:39:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:39:33 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id RAA06375 for ; Fri, 28 Feb 1997 17:11:49 -0800 Original-Received: from proletcult.slip.ifi.uio.no (root@ppp14.larris.ifi.uio.no [129.240.68.114]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 1 Mar 1997 01:48:48 +0100 Original-Received: (from larsi@localhost) by proletcult.slip.ifi.uio.no (8.8.2/8.8.2) id BAA21358; Sat, 1 Mar 1997 01:01:31 +0100 Mail-Copies-To: never Original-To: ding@ifi.uio.no In-Reply-To: Jens Lautenbacher's message of 27 Feb 1997 16:59:58 +0100 Original-Lines: 26 X-Mailer: Gnus v5.4.16/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > There seem to be some inconsitencies with the way groups lines are > highlighted. > > As far as I see there are two incompatible ways to do this: > > a) using custom gnus-face-x fonts in the gnus-group-line-format. > > b) by a call to gnus-group-highlight-line, which is on by default, and > which uses gnus-group-highlight to see how a particular line should > be highlighted. > > The problem is that first a) is done and then, if it is selected, b). > But b) overwrites any (face) changes done by a). Yes, this is a problem. Uhm. The fontification done by A can't be done after B, since it's actually done while inserting the text. Uhm. Well, perhaps the `gnus-group-highlight-line' should be rewritten to be done before inserting anything in the buffer, so that we know what the default face is supposed to be before inserting any of the text? I don't know whether that's workable... -- (domestic pets only, the antidote for overdose, milk.) larsi@ifi.uio.no * Lars Ingebrigtsen