Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Urs Thuermann <urs@isnogud.escape.de>
Subject: relax the comparison of subject lines
Date: 11 Jun 2006 21:56:02 +0200	[thread overview]
Message-ID: <m2wtbn5uwd.fsf@janus.isnogud.escape.de> (raw)

I'd like to modify the comparison of subject lines, which determines
if the subject line in a summary buffer is the same as the previous
one (and therefore not repeatedly printed) or not.

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.

I am on one mailing list, where the mailing list server inserts a
space after the colon of the "subject:" header of each message posted.
This causes Gnus to consider the subjects to be different, as they
appear as

  "Subject:  foo"
  "Subject:  Re: foo"   or   "Subject:  Re:  foo"

i.e. it looks like a " Re:" or a " Re: " has been prepended.  I have
written to the list and asked this to be fixed, but don't know if and
when it will be done.

Micro$hit loves to disturb many mailing list users by using "AW: " for
the german word "Antwort" which means reply, instead of the "Re: "
which is described in some RFC (forgot the number, probably 2822).
Others use "RE: " instead of "Re: ".

I have seen some MUAs append a space to the subject line when replying
to a mail.

All these bugs should of course better be fixed in the broken MUAs and
mailing list servers, but since they mostly will not, it would be nice
if I could configure Gnus to consider all these subjects equal, i.e.
two subjects should be equal, if one of them has " *([Rr][Ee]|AW): *"
prepended and/or if it has " *" appended.

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

Can this be done?


urs

             reply	other threads:[~2006-06-11 19:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11 19:56 Urs Thuermann [this message]
2006-06-11 21:33 ` Reiner Steib
2006-06-13 11:07   ` Urs Thuermann
2006-06-13 14:13     ` Reiner Steib

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=m2wtbn5uwd.fsf@janus.isnogud.escape.de \
    --to=urs@isnogud.escape.de \
    /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).