From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54142 Path: main.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: Re: simplify subject in Summary buffer Date: Wed, 01 Oct 2003 16:39:37 -0700 Organization: Sparta Sender: ding-owner@lists.math.uh.edu Message-ID: References: <871xu1webw.fsf@mail.kubtelecom.ru> <87k77p2e3b.fsf@mail.kubtelecom.ru> <87zngkri37.fsf@mail.kubtelecom.ru> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1065051642 3857 80.91.224.253 (1 Oct 2003 23:40:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2003 23:40:42 +0000 (UTC) Original-X-From: ding-owner+M2683@lists.math.uh.edu Thu Oct 02 01:40:40 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4qaG-0003wz-00 for ; Thu, 02 Oct 2003 01:40:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1A4qZX-00068L-00; Wed, 01 Oct 2003 18:39:55 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A4qZQ-00068F-00 for ding@lists.math.uh.edu; Wed, 01 Oct 2003 18:39:48 -0500 Original-Received: from wanderer.hardakers.net (adsl-66-127-127-227.dsl.scrm01.pacbell.net [66.127.127.227]) by justine.libertine.org (Postfix) with ESMTP id 9EA823A004D for ; Wed, 1 Oct 2003 18:39:47 -0500 (CDT) Original-Received: by wanderer.hardakers.net (Postfix, from userid 274) id 1F577574A7; Wed, 1 Oct 2003 16:39:38 -0700 (PDT) Original-To: ding@gnus.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXotKX87e8eDA4GAQbQgmlzNycHAwizYkruzul2AAACaUlEQVR4nFXUTW/jIBAGYFI56jWutuq1S9b2dddW6dWtQFxbq4jzwq73Glmg+fv7DiT9QJGS+GEGhiER67TWEQ5CtOeh21ZcIIbmOPq5QvMZYlyV6u+/gsJLTSrGIL/CxEPxQuPAcP0JYlQsq3x5B3UJmUaEyB6yZ+CQ+pwXCzKsbXtbIhg4KtZypPz+AVGtlxH69c87qAqRY6Rc5QUmZMGeAj+TfVjjUwE1lflKys5JGXpM+V0hltqCJ0qL7Plkft4wRM6lxi5p3Wyy7O7fB8TgtdZivxy5rvAB6wSYhbA9vn+GOCaOEGJRPO2mHgk+q1Chyf0Up3AG0NjhOXI19ogEFziq6M+ZtN3kUZ13NW4qUCprC3CW668C06M5jihON1Vsjq8F1CPJB8LINNeQfscwxUEvAwM5Xghvsq2pBr3hnKhbDIrMS3cBRDx70uS9JW2dy667gM0AbZFFmyvn3GOBGB8wG9kppaSNz357LaCmUdtSny5LU9qeCrglvJmyH20TwkjnXQE0usscIWayCWZJ7OpZ4QbUVGRnhuTub3cMYRk99oSplDIfibzfn0FyXyk7z8XThuvC0P/dGCwee7O8aZJBmh0vPixy0NrYhDaR02aR3W0BbyT6h23OB5Hzybj+DOm5w6XCOZG13p5Oh/bursJVh9S+bBiFnPCDuntpcTH080AO+7GlW1i3bRphBM04dZ2dI6yMLjmGFqnIok/cB1YU8sJAACTeuHOd5+lumQHfDM6KyLqEm4aWkkcc1m4PqBewZxBZOg44lT+aJiexDteewboiVhxAjSHxQwhiYJEdCR6tMN1/uckirDRNbsgAAAAASUVORK5CYII= In-Reply-To: (Danny Siu's message of "Wed, 01 Oct 2003 12:46:31 -0700") User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.5 (brussels sprouts, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54142 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54142 >>>>> On Wed, 01 Oct 2003 12:46:31 -0700, Danny Siu said: Danny> Care to share your gnus-summary-highlight-expressions as an Danny> example usage? :-) There is a very long set of documentation for that variable... And an example in it: (require 'gnus-highlight) (setq gnus-summary-highlight-expressions '( ; turns "keyword" green. (".*\\(keyword\\)" . "green") ; turns entire line yellow (".*otherword" . ((face . "yellow"))) ; turns "thirdex" blue (".*\\(choice1\\|choice2\\).*\\(thirdex\\)" . ((face . "blue" match . 2))) ) Settings I use include bbdb mark-char marks (normally a + by default but a mark-char insert within bbdb will replace the + by something else, which I for important people like my boss, etc. They then get a line highlighted in yellow: (setq gnus-summary-highlight-expressions '( (".*\\(teststring\\)" . ((fg . "blue2") (bg . "green1"))) ; full line highlight for x-ping ("^*" . "green") ; bbdb marks for author ; (assumes bbdb marks in one column and From: marked in []s) ("^......[^EOR].^[^[]*\\[\\([^]]+\\)\\]" . ((bg . "yellow"))) ("^......[^EOR]./[^[]*\\[\\([^]]+\\)\\]" . ((fg . "brown2"))) ("^......[^EOR].\\+[^[]*\\[\\([^]]+\\)\\]" . "#b0e0ff") ; specific key word marks (".*\\(snmp\\)" . "#c0c0ff") )) -- "In the bathtub of history the truth is harder to hold than the soap, and much more difficult to find." -- Terry Pratchett