Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@metis.no>
Subject: Re: Replacing "AW:" with "Re:"
Date: 16 Sep 1999 13:03:58 +0200	[thread overview]
Message-ID: <whyae7yv6p.fsf@viffer.oslo.metis.no> (raw)
In-Reply-To: Jochen Lillich's message of "16 Sep 1999 11:36:02 +0200"

>>>>> Jochen Lillich <jochen@dynamis.de>:

> 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...).


  parent reply	other threads:[~1999-09-16 11:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-16  9:36 Jochen Lillich
1999-09-16 10:39 ` Jens Kloecker
1999-09-16 11:03 ` Steinar Bang [this message]
1999-09-16 18:30   ` Robert Bihlmeyer
1999-09-16 19:40   ` Lars Balker Rasmussen
1999-09-17  7:37     ` Steinar Bang
1999-09-18  9:51       ` Lars Balker Rasmussen
1999-09-20 13:26   ` Jan Rychter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=whyae7yv6p.fsf@viffer.oslo.metis.no \
    --to=sb@metis.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).