From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48146 Path: main.gmane.org!not-for-mail From: kgreiner@xpediantsolutions.com Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-highlight should use overlays? Date: Tue, 10 Dec 2002 22:36:22 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87adjd4wo0.fsf@wesley.springies.com> <87el8p3eqb.fsf@wesley.springies.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039581448 27752 80.91.224.249 (11 Dec 2002 04:37:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2002 04:37:28 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Lych-0007DT-00 for ; Wed, 11 Dec 2002 05:37:27 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18LycJ-0003T9-00; Tue, 10 Dec 2002 22:37:03 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 10 Dec 2002 22:37:51 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@[209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id WAA03300 for ; Tue, 10 Dec 2002 22:37:36 -0600 (CST) Original-Received: (qmail 6225 invoked by alias); 11 Dec 2002 04:36:40 -0000 Original-Received: (qmail 6220 invoked from network); 11 Dec 2002 04:36:40 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 11 Dec 2002 04:36:40 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18Lymd-0008WA-00 for ; Wed, 11 Dec 2002 05:47:43 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 29 Original-NNTP-Posting-Host: 216.12.206.70 Original-X-Trace: quimby.gnus.org 1039582063 32745 216.12.206.70 (11 Dec 2002 04:47:43 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 11 Dec 2002 04:47:43 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-msvc-nt5.1.2600) Cancel-Lock: sha1:E+nw8wLzbbRtT0RVuW0VwORNGUE= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48146 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48146 Alan Shutko writes: > KGreiner@xpediantsolutions.com writes: > >> Just to let you know, I've already rewritten this code to address >> feedback from other users. > [...] >> Will this help with the overriding problem that you are seeing? > > It would solve the immediate problem, but it would be nice if you > didn't have to develop workarounds like that. I think overlays would > make it easier to show multi-state things. (So we don't have to keep > combining different ideas into single faces.) > > -- > Alan Shutko - In a variety of flavors! > But this one act of consecration is what I ask of you - NIN Agreed. I believe that I was considering the same idea from the opposite end; the gnus-summary-highlight definition. I've been toying with the idea that gnus-summary-highlight should specify a set of conditions and font attributes. Each time a condition evals to true, the indicated attribute is added to the line's face. That way, you don't have to redefine a half dozen faces to get a consistent scheme. To be honest, I haven't gotten past the thinking stage. I'll take a look at overlays, they may make the idea straight-forward to implement. Kevin