From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim 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: Tue, 20 Aug 2024 15:56:24 +0200 Message-ID: <87bk1nuwl3.fsf@gmail.com> References: <868qxdvchc.fsf@gnu.org> <861q35v80b.fsf@gnu.org> <87o75nv85p.fsf@gmail.com> <86ed6jwfkp.fsf@gnu.org> 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="3407"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72442@debbugs.gnu.org, bjorn.bidar@thaodan.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 20 15:58:44 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 1sgPNj-0000ef-Jm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Aug 2024 15:58:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgPNN-0000ZE-Dj; Tue, 20 Aug 2024 09:58:21 -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 1sgPNL-0000YE-Um for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2024 09:58:20 -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 1sgPNL-0004H0-LN for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2024 09:58:19 -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=bd1c/1Q7+xBVIUh+9RAg0EU9hglVBZVFJ5FQqXAYhaI=; b=kkE5Dv7B6DBTeW4JjhOz+tOa4qeRVm28x8AKLPUHfNsGRmqJrbc/BJNhVgcjbun4WDQScdrjmNUUJFC94x/JkJOjg/cDHX4e+EnFxyT6gwWCpGftQLpIFUcJvUm5N+px74SkCKFMUiBRrNBcmFm7SmIKD8/hizgOcuS04exFZMQku4D0Zre1Ro7RFRo8FUvmkV6vhrZpoofJIM93EQH0cbW5QkI+DCMFYgHR0Mn84hqpXTAP9LBBAD1BGQvKuN7l2WLhECyq37bebdej/BpCD8Cmk6DDVKJH7UzXvHCSQel2s/hDHpyILloosYjdH3nBrC7b7cqjYngiPmj+jbvkiA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sgPO2-0003M5-DL for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2024 09:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Aug 2024 13:59:02 +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.172416229912842 (code B ref 72442); Tue, 20 Aug 2024 13:59:02 +0000 Original-Received: (at 72442) by debbugs.gnu.org; 20 Aug 2024 13:58:19 +0000 Original-Received: from localhost ([127.0.0.1]:33485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgPNK-0003L4-FD for submit@debbugs.gnu.org; Tue, 20 Aug 2024 09:58:18 -0400 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:56752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgPNH-0003Ko-Eo for 72442@debbugs.gnu.org; Tue, 20 Aug 2024 09:58:17 -0400 Original-Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4281c164408so44007045e9.1 for <72442@debbugs.gnu.org>; Tue, 20 Aug 2024 06:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724162186; x=1724766986; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=bd1c/1Q7+xBVIUh+9RAg0EU9hglVBZVFJ5FQqXAYhaI=; b=Pl2YH+K99rk7NeZKkDFG+2gHataLzNkhhs6XNRPbYI3linQbV51Nm0kBP3DVlcVTSi ITd5HCAIPQbT05afuPGihYmtre2kikq6RSReVceMFjsxXstWHPehb23B7rAaz3f+DR8a Vr8vbgAdlY6VX5eDXQSO0SH9lt4XmJATBYtO/PaApPCCWJeZQmFMDVAJAW3nJS4gbsC6 fSmH0yFR5r2WNpES44o5hsA768z8hAO/mE3VZfMqFTz8ERzY9mChU5Dg1No8h3HMAkTj oWK+sZP3PHJAwVgbxArU4/ghX//BHP2G73vlDwf+n8vIj2L6jYGR8JvmJ9BK+OL2LoIH eC8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724162186; x=1724766986; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bd1c/1Q7+xBVIUh+9RAg0EU9hglVBZVFJ5FQqXAYhaI=; b=N/iamB686lM5AVtTCHa9lV2rShIevP4y8C+qAxpY4pf5YYtJD4gc0ZJFScS0ar1lqD vC61m3wTwNrhZneS2NDT/waj3TKdwZfGAhC4956VMV5xm9/C6P67phKzXMHL1Um4A1YT 2IzWofH2EpoYG/kj59JoTLQ0wnam/NLSxtIvnxkFnQP+C8IdBqwuB1Brocb0Z7NN/Fiy kJ92nvELxXvijBM/vVv1ScDPIXSYYwXOAw5r/Zw2V6HIU9deQFZD8LRQFlGd0jlNxKuW 69s30Sy1fsEJEm+BylH3I5csD3qon8LHKrJRrkVzgiuEVcxHag5C1nwu2o5/bXY9w5i4 c9vA== X-Forwarded-Encrypted: i=1; AJvYcCV5g63qVZY7Ruv+wqCQ3j/2lITW0YXPlmMMGiW1po0YF7dn94JGkp08sebhXqSdcDzRplDmK83wWCWWtzqkAcACkITxdCA= X-Gm-Message-State: AOJu0YxkPLm6WKSpHrhbdLeCApNIh33Fni/gM/9Q5tfI4fOAINBEaFat OvKnAygPGSo2St1XKVleRyFMBephBNw6RSPVG3TjYVDmwfDZYEbUBmDihQ== X-Google-Smtp-Source: AGHT+IFtDUo4Z/Qr1F1IjaeA+PQ/6+UbLr2VF+KFMzsEN7Iq/GqOtcKOBM/uaDeGINotownOcv/wUw== X-Received: by 2002:a05:600c:35c5:b0:427:ff7a:794 with SMTP id 5b1f17b1804b1-429ed77722dmr91634635e9.4.1724162185948; Tue, 20 Aug 2024 06:56:25 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb51:91f:f442:d03d:a968]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429ed65072asm142465875e9.13.2024.08.20.06.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 06:56:25 -0700 (PDT) In-Reply-To: <86ed6jwfkp.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 20 Aug 2024 15:20:54 +0300") 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:290447 Archived-At: >>>>> On Tue, 20 Aug 2024 15:20:54 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: Bj=C3=B6rn Bidar , >> 72442@debbugs.gnu.org >> Date: Tue, 20 Aug 2024 11:46:26 +0200 >>=20 >> >>>>> On Sat, 03 Aug 2024 20:19:48 +0300, Eli Zaretskii said: >>=20 >> >> From: Bj=C3=B6rn Bidar >> >> Cc: 72442@debbugs.gnu.org >> >> Date: Sat, 03 Aug 2024 19:58:46 +0300 >> >>=20 >> >> Eli Zaretskii writes: >> >>=20 >> >> > FWIW, Rmail does support the various ways of saying "Re:", so t= he code >> >> > could be lifted from there. >>=20 >> So does message, you just have to configure >> `message-subject-re-regexp'. The message manual contains an >> appropriate setting. Eli> I wouldn't expect users to know how to do that in advance of getti= ng Eli> the various "Re:" variants out there. Should we perhaps improve t= he Eli> default value to be less English-centric? Yes, we should. >> We could just add the example from the manual to the `defcustom' for >> `message-subject-re-regexp' (and also align it with whatever Rmail >> does). Eli> I think good defaults here win big time. This corner is notorious= ly Eli> dark and most users will not know how to make it better. The first is easy. The second is a bit more difficult, since the two don=CA=BCt cover exactly the same cases, and message matches case-sensitively, unlike rmail, so we=CA=BCd need to either adapt eg "=CE= =A3=CE=A7=CE=95=CE=A4" to "[=CE=A3=CF=83][=CE=A7=CF=87][=CE=95=CE=B5][=CE=A4=CF=84]" or make the brea= king change of binding `case-fold-search' in message. Personally I=CA=BCd prefer the latter. (are there really mailers that prefix the subject with "R:"?) Robert --=20