GNU bug report logs -
#72442
31.0.50; Gnus or message.el doesn't handle international message reply subject prefixes and insults users
Previous Next
Reported by: Björn Bidar <bjorn.bidar <at> thaodan.de>
Date: Sat, 3 Aug 2024 13:16:01 UTC
Severity: normal
Tags: fixed
Found in version 31.0.50
Fixed in version 31.1
Done: Robert Pluim <rpluim <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Robert Pluim <rpluim <at> gmail.com> writes:
>>>>>> On Thu, 22 Aug 2024 15:04:56 +0300, Björn Bidar <bjorn.bidar <at> thaodan.de> said:
>
> Björn> Robert Pluim <rpluim <at> gmail.com> writes:
> >>>>>>> On Tue, 20 Aug 2024 15:56:24 +0200, Robert Pluim <rpluim <at> gmail.com> said:
> >>
> Robert> The first is easy. The second is a bit more difficult, since the two
> Robert> donʼt cover exactly the same cases, and message matches
> Robert> case-sensitively, unlike rmail, so weʼd need to either adapt eg "ΣΧΕΤ" to
> Robert> "[Σσ][Χχ][Εε][Ττ]" or make the breaking change of binding
> Robert> `case-fold-search' in message. Personally Iʼd prefer the latter.
> >>
> Robert> (are there really mailers that prefix the subject with "R:"?)
> >>
> >> The current setting for rmail is more complete than the suggestion in
> >> the Gnus manual, except itʼs missing:
> >>
> >> - "RÉ"
> >> - an optional "." after "Antw"
> >> - an optional space between the "RE" string and the ":"
> >> - "FW"/"FWD"
> >>
> >> The first 3 seem obvious. Adding the last might annoy people :-)
> >>
> >> I can add those to `rmail-re-abbrevs', but perhaps itʼs better to have a
> >> new defcustom that both rmail and message would use? Something like
> >> 'mail-re-regexps' in "mail-utils.el" perhaps? Plus some appropriate
> >> editing of the manual.
>
> Björn> If there would be an easy way to new prefix to the ignore list that
> Björn> would work. Can't expect (avarage) users to build their regular
> Björn> expression especially when multiple languages are involved.
>
> The new defcustom could be a list of regexps, ie
>
> ("RE" "R\u00c9\\.?" "FWD?" "رد" "回复" "回覆" "SV" "Antw\\.?"
> "VS" "REF" "AW" ΑΠ" "ΣΧΕΤ" "השב" "Vá" "R" "RIF" "BLS" "RES"
> "Odp" "YNT" "ATB")
>
> which weʼd concatenate with "\\|" to get the real regexp. That would
> be quite easy to edit in custom.
Does it make sense to build the regexp using regexp-search-word or
regexp-opt after the user has entered the words to filter in defcustom?
This bug report was last modified 94 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.