From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7508 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: relax the comparison of subject lines Date: Sun, 11 Jun 2006 23:33:47 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150065648 15943 80.91.229.2 (11 Jun 2006 22:40:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2006 22:40:48 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jun 12 00:40:46 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FpYbd-0000PY-5A for gegu-info-gnus-english@m.gmane.org; Mon, 12 Jun 2006 00:40:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpYbc-00017S-Nr for gegu-info-gnus-english@m.gmane.org; Sun, 11 Jun 2006 18:40:28 -0400 Original-Newsgroups: gnu.emacs.gnus X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.; yo.b yq4$p; ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:EHD+dtDY8HAp6Rb0L3TrxZN1Fb8= Original-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1150064830 134.60.10.123 (12 Jun 2006 00:27:10 +0200) Original-Lines: 74 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-stu1.dfn.de!news.belwue.de!news.uni-ulm.de!viandante.physik.uni-ulm.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77692 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:7508 Archived-At: On Sun, Jun 11 2006, Urs Thuermann wrote: > AFAIK, the usual comparison considers two subject lines equal, if they > are exactly identical or if they only differ in that one of them has a > "Re: " prepended. [...] > "Subject: foo" > "Subject: Re: foo" or "Subject: Re: foo" ,----[ (info "(gnus)Loose Threads") ] | `gnus-simplify-subject-functions' | If non-`nil', this variable overrides | `gnus-summary-gather-subject-limit'. This variable should be a | list of functions to apply to the `Subject' string iteratively to | arrive at the simplified version of the string. | | Useful functions to put in this list include: | | `gnus-simplify-subject-re' | Strip the leading `Re:'. | | `gnus-simplify-subject-fuzzy' | Simplify fuzzily. | | `gnus-simplify-whitespace' | Remove excessive whitespace. | | `gnus-simplify-all-whitespace' | Remove all whitespace. | | You may also write your own functions, of course. `---- > It would further be nice, if replying to a subject "AW: foo" would > cause Gnus to generate a subject "Re: foo" in the reply instead of > "Re: AW: foo". See `gnus-simplify-subject-re' above which uses `message-subject-re-regexp': ,----[ (info "(message)Message Headers") ] | `message-subject-re-regexp' | Responses to messages have subjects that start with `Re: '. This | is _not_ an abbreviation of the English word "response", but is | Latin, and means "in response to". [...] | | Here's an example of a value to deal with these headers when | responding to a message: | | (setq message-subject-re-regexp | (concat | "^[ \t]*" | "\\(" | "\\(" | "[Aa][Nn][Tt][Ww]\\.?\\|" ; antw | "[Aa][Ww]\\|" ; aw | "[Ff][Ww][Dd]?\\|" ; fwd | "[Oo][Dd][Pp]\\|" ; odp | "[Rr][Ee]\\|" ; re | "[Rr][\311\351][Ff]\\.?\\|" ; ref | "[Ss][Vv]" ; sv | "\\)" | "\\(\\[[0-9]*\\]\\)" | "*:[ \t]*" | "\\)" | "*[ \t]*" | )) `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/