From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25120 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Replacing "AW:" with "Re:" Date: 16 Sep 1999 13:03:58 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162565 12403 80.91.224.250 (21 Oct 2002 01:09:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:09:25 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id HAA23075 for ; Thu, 16 Sep 1999 07:04:29 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id GAB25544; Thu, 16 Sep 1999 06:04:26 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 16 Sep 1999 06:04:55 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id GAA29571 for ; Thu, 16 Sep 1999 06:04:46 -0500 (CDT) Original-Received: from viffer.oslo.metis.no (sb@viffer.oslo.metis.no [195.0.254.249]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id HAA23063 for ; Thu, 16 Sep 1999 07:04:01 -0400 (EDT) Original-Received: (from sb@localhost) by viffer.oslo.metis.no (8.8.8/8.8.8) id NAA16513; Thu, 16 Sep 1999 13:03:58 +0200 Original-To: ding@gnus.org In-Reply-To: Jochen Lillich's message of "16 Sep 1999 11:36:02 +0200" Original-Lines: 25 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25120 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25120 >>>>> Jochen Lillich : > The Gnus manual says in "Washing Mail": > Case in point: The German version of Microsoft Exchange adds > `AW: ' to the subjects of replies instead of `Re: '. I could > pretend to be shocked and dismayed by this, but I haven't got > the energy. It is to laugh. > But it doesn't say how to actually do something about that. Now, how > do I replace this annoying "AW:" by "Re:"? Personally I use the following procmail rule to wash subject fields before gnus even sees them: :0 fhw | /usr/bin/perl -ne "s/^(Subject:)\s+(S[Vv]:\s*|AW:\s*|Ad:\s*|R[eE](\(\d+\))?:\s*)+/\1 Re: /g;s/^(Subject:)\s+(=\?((iso|ISO)-8859-1|us-ascii)\?Q\?)((S[Vv]|AW|Ad|R[eE](\(\d+\))?)(:|=3[Aa])_*)+/\1 \2Re:_/g; s/\042\'([^\']*)\'\042/\042\1\042/g ; print" (As well as AW, this takes care of "Ad", "SV" and "RE", and the "galloping Re: SV: Re: syndrome...) Unfortunately this doesn't help with USENET messages. :-/ I'm also unable to cover BASE64 encoded subjects (Oh yes! Exchange and Outlook variants cover them all...).