From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72442: 31.0.50; Gnus or message.el doesn't handle international message reply subject prefixes and insults users Date: Fri, 23 Aug 2024 08:39:25 +0300 Message-ID: <17494.4093379722$1724391637@news.gmane.org> References: <868qxdvchc.fsf@gnu.org> <861q35v80b.fsf@gnu.org> <87o75nv85p.fsf@gmail.com> <86ed6jwfkp.fsf@gnu.org> <87bk1nuwl3.fsf@gmail.com> <87jzg8u6tw.fsf@gmail.com> <66c7296a.a70a0220.2590d7.c939SMTPIN_ADDED_BROKEN@mx.google.com> <87bk1ku2c8.fsf@gmail.com> Reply-To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19930"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 72442@debbugs.gnu.org, Eli Zaretskii To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 23 07:40:30 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1shN2D-00051D-Lk for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Aug 2024 07:40:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shN22-0005G2-3s; Fri, 23 Aug 2024 01:40:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shN21-0005Ft-85 for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2024 01:40:17 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shN1z-0006ka-IX for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2024 01:40:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=sA+iNnstxwWqaUtikng3QUaW5gYOt4OARitt2QWJjwg=; b=NT0QdWLM2hWfqvdjflbOwXMAVIRl/+61q9CLsZqjQnJlujzmY3Mv4Y9xsAyHw9TZE9H+0y6X8FVSGpoOqFDnsHfTMT7T45r+5YRqcR85Ddp8M+gE0Zb+kuxLJiRSZZP3FAgYQ3IEjXs56ZUdkPWlA1+06pfBx45wUVvvSeASDcFX2oDFD/5eQzAE2Px60+aOgv5RytXrCpsMNxcXpdG6PG2mxPwyMARlunLvE0TVRU5/la5m6xEcBIyDcYXoS4xfdXg5OVHrzdVp7NbrtkGoleZ6QWPDvAk0DbzrvEG3CMbcthx7IdrBtuu5rAFrIouahwB7b1iAHnWUwPzxiQLMZQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shN2j-0003vi-Tj for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2024 01:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Aug 2024 05:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72442 X-GNU-PR-Package: emacs Original-Received: via spool by 72442-submit@debbugs.gnu.org id=B72442.172439162115043 (code B ref 72442); Fri, 23 Aug 2024 05:41:01 +0000 Original-Received: (at 72442) by debbugs.gnu.org; 23 Aug 2024 05:40:21 +0000 Original-Received: from localhost ([127.0.0.1]:38699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shN25-0003uX-70 for submit@debbugs.gnu.org; Fri, 23 Aug 2024 01:40:21 -0400 Original-Received: from thaodan.de ([185.216.177.71]:39414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shN22-0003uI-Sb for 72442@debbugs.gnu.org; Fri, 23 Aug 2024 01:40:19 -0400 Original-Received: from odin (dsl-trebng12-50dc75-154.dhcp.inet.fi [80.220.117.154]) by thaodan.de (Postfix) with ESMTPSA id EB65AD00051; Fri, 23 Aug 2024 08:39:25 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1724391566; bh=EBWVwY+JkUZINyozWrQgbfTByqgfFvqAor8mcGCCp54=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=qPv/GmIRvofBiSaOKXPQY+eTYEQJ6ekusKNKCV9m+dUIgt4O768XCu90YWRnAyujO xXi7JyTItOyPNXUQq44Zvmg5yhV34DIe4cM1X4AgDjIY5T1Rojd9p3K6/PueVFddvN 9YmjYFdcTpmsaM3Rz3d1eATnE78sN+GEC1lCsWRjFINWS9CL1OnzYaG/d9UhUC89Kt 1+hzycrfihWxzEWupHP0ZUU2bJNJ2S6D/gWgKKCJzyzPzg4kflL/LNF9p/kXYjEIIs 5cKje//2KqwTu4ca+TutG0M1EpADF/m/+qXVGGCiV/gA2ZZrEKuKafKLI9Yty9iOOC /S3NLLIJ9+3TolVpbF1rCJW8zcJ7Qi9ygt88dDpL8yqmOFsUDAmI3k0MMTgfFwC4ZI Z7xSHJ0RAohDol8QZXnu4Rl+f2MAFz2STQW+dJCeVr0prVLnuSAOMwBUKd7y9Vlz0H zuQu9y5m/m00g+vyjCR6YNEnx/bn6VqKvc5gjM7zS5wFks1SjEKuJVDkcaqd7Q6eRc a5gOsMy5UVfsQTDViT2vV5BNm8OO9FX50be5OjR0W+UfrKgZ7CWGZfOMZtScJhQa7e mpZdYXn4Vz1e55UvYGzDXfMIKVRcdy/WSISBGw85VyWPxGuTcuM5LQ0KTrzqEb4q3Z fHpz+4VM6+A7d6R4If8h9bPA= In-Reply-To: <87bk1ku2c8.fsf@gmail.com> (Robert Pluim's message of "Thu, 22 Aug 2024 15:14:15 +0200") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290572 Archived-At: Robert Pluim writes: >>>>>> On Thu, 22 Aug 2024 15:04:56 +0300, Bj=C3=B6rn Bidar said: > > Bj=C3=B6rn> Robert Pluim writes: > >>>>>>> On Tue, 20 Aug 2024 15:56:24 +0200, Robert Pluim said: > >>=20 > Robert> The first is easy. The second is a bit more difficult, since = the two > Robert> don=CA=BCt cover exactly the same cases, and message matches > Robert> case-sensitively, unlike rmail, so we=CA=BCd need to either a= dapt eg "=CE=A3=CE=A7=CE=95=CE=A4" to > Robert> "[=CE=A3=CF=83][=CE=A7=CF=87][=CE=95=CE=B5][=CE=A4=CF=84]" or= make the breaking change of binding > Robert> `case-fold-search' in message. Personally I=CA=BCd prefer the= latter. > >>=20 > Robert> (are there really mailers that prefix the subject with "R:"?) > >>=20 > >> The current setting for rmail is more complete than the suggestion= in > >> the Gnus manual, except it=CA=BCs missing: > >>=20 > >> - "R=C3=89" > >> - an optional "." after "Antw" > >> - an optional space between the "RE" string and the ":" > >> - "FW"/"FWD" > >>=20 > >> The first 3 seem obvious. Adding the last might annoy people :-) > >>=20 > >> I can add those to `rmail-re-abbrevs', but perhaps it=CA=BCs bette= r 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=C3=B6rn> If there would be an easy way to new prefix to the ignore= list that > Bj=C3=B6rn> would work. Can't expect (avarage) users to build their r= egular > Bj=C3=B6rn> expression especially when multiple languages are involve= d. > > The new defcustom could be a list of regexps, ie > > ("RE" "R\u00c9\\.?" "FWD?" "=D8=B1=D8=AF" "=E5=9B=9E=E5=A4=8D" "=E5=9B= =9E=E8=A6=86" "SV" "Antw\\.?" > "VS" "REF" "AW" =CE=91=CE=A0" "=CE=A3=CE=A7=CE=95=CE=A4" "=D7=94=D7=A9= =D7=91" "V=C3=A1" "R" "RIF" "BLS" "RES" > "Odp" "YNT" "ATB") > > which we=CA=BCd 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?