From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66446 Path: news.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: Re: Highlight words in the subject line? Date: Thu, 06 Mar 2008 06:02:43 -0800 Organization: Sparta Message-ID: References: <87hcfli6w3.fsf@bzg.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204812256 18093 80.91.229.12 (6 Mar 2008 14:04:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 14:04:16 +0000 (UTC) Cc: ding@gnus.org To: Bastien Original-X-From: ding-owner+M14937@lists.math.uh.edu Thu Mar 06 15:04:43 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXGhs-00031S-T5 for ding-account@gmane.org; Thu, 06 Mar 2008 15:04:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JXGgR-0002Fy-Uo; Thu, 06 Mar 2008 08:02:56 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JXGgQ-0002Fm-Sx for ding@lists.math.uh.edu; Thu, 06 Mar 2008 08:02:54 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JXGgK-00069P-KQ for ding@lists.math.uh.edu; Thu, 06 Mar 2008 08:02:54 -0600 Original-Received: from dcn236-43.dcn.davis.ca.us ([168.150.236.43] helo=wes.hardakers.net) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JXGgQ-00049W-00 for ; Thu, 06 Mar 2008 15:02:54 +0100 Original-Received: from wes.hardakers.net (wlap.dyn.hardakers.net [127.0.0.1]) by wes.hardakers.net (Postfix) with ESMTP id 8F6A4399BDA; Thu, 6 Mar 2008 06:02:43 -0800 (PST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed; d=hardakers.net; h=received:from:to:cc:subject:organization:references:face:date:in-reply-to:message-id:user-agent:mime-version:content-type; q=dns/txt; s=wesmail; bh=OsbiR0JAdyqfJEjCnGgwA2XJ9+I=; b=brZgH0YE0JhfwAtLUIlkrXhsjcUxr4Fl4sgdJ3h3WwpF7VzhHjZdmWWcv88b5KTtrBCT9MQCX1Vm5EsBWuTOcpD8p8F860rFTFwxAlFeH+cOzAzUxJdInGdp1PCmOFdk5qgP03+MtcDCrsJ4JtRlKlCDWXrqiIdm1jUuUiWUbMs= Original-Received: by wes.hardakers.net (Postfix, from userid 274) id 68208399BDF; Thu, 6 Mar 2008 06:02:43 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXotKX87e8eDA4GAQbQgmlzNycHAwizYkruzul2AAACaUlEQVR4nFXUTW/jIBAGYFI56jWutuq1S9b2dddW6dWtQFxbq4jzwq73Glmg+fv7DiT9QJGS+GEGhiER67TWEQ5CtOeh21ZcIIbmOPq5QvMZYlyV6u+/gsJLTSrGIL/CxEPxQuPAcP0JYlQsq3x5B3UJmUaEyB6yZ+CQ+pwXCzKsbXtbIhg4KtZypPz+AVGtlxH69c87qAqRY6Rc5QUmZMGeAj+TfVjjUwE1lflKys5JGXpM+V0hltqCJ0qL7Plkft4wRM6lxi5p3Wyy7O7fB8TgtdZivxy5rvAB6wSYhbA9vn+GOCaOEGJRPO2mHgk+q1Chyf0Up3AG0NjhOXI19ogEFziq6M+ZtN3kUZ13NW4qUCprC3CW668C06M5jihON1Vsjq8F1CPJB8LINNeQfscwxUEvAwM5Xghvsq2pBr3hnKhbDIrMS3cBRDx70uS9JW2dy667gM0AbZFFmyvn3GOBGB8wG9kppaSNz357LaCmUdtSny5LU9qeCrglvJmyH20TwkjnXQE0usscIWayCWZJ7OpZ4QbUVGRnhuTub3cMYRk99oSplDIfibzfn0FyXyk7z8XThuvC0P/dGCwee7O8aZJBmh0vPixy0NrYhDaR02aR3W0BbyT6h23OB5Hzybj+DOm5w6XCOZG13p5Oh/bursJVh9S+bBiFnPCDuntpcTH080AO+7GlW1 i3bRphBM04dZ2dI6yMLjmGFqnIok/cB1YU8sJAACTeuHOd5+lumQHfDM6KyLqEm4aWkkcc1m4PqBewZxBZOg44lT+aJiexDteewboiVhxAjSHxQwhiYJEdCR6tMN1/uckirDRNbsgAAAAASUVORK5CYII= In-Reply-To: <87hcfli6w3.fsf@bzg.ath.cx> (Bastien's message of "Wed, 05 Mar 2008 14:26:36 +0000") User-Agent: Gnus/5.110007 (No Gnus v0.7) XEmacs/21.4.20 (linux, no MULE) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66446 Archived-At: >>>>> "B" == Bastien writes: B> I'm using this to highlight words in the subject line: I think you want "gnus-highlight" from my page: http://www.hardakers.net/elisp/ Which lets you do things like this (a snippit of my list): (setq gnus-article-highlight-expressions '( (".*autolearn=\\(hame\\|spam\\|no\\)" . ((fg . "red1"))) (".*BAYES_\\([0-9][0-9]\\)" . ((bg . "#70e070"))) (".*Subject: \\(.*\\)" . ((fg . "red3"))) )) For you the last one is the one you want... put the words you're looking for in the \(\) matches and it'll change to the color you requested. -- "In the bathtub of history the truth is harder to hold than the soap, and much more difficult to find." -- Terry Pratchett