From unknown Wed Aug 20 02:46:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52104 <52104@debbugs.gnu.org> To: bug#52104 <52104@debbugs.gnu.org> Subject: Status: 29.0.50; sometimes ispell-message does not check the Subject field Reply-To: bug#52104 <52104@debbugs.gnu.org> Date: Wed, 20 Aug 2025 09:46:36 +0000 retitle 52104 29.0.50; sometimes ispell-message does not check the Subject = field reassign 52104 emacs submitter 52104 Peter M=C3=BCnster severity 52104 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 25 08:47:49 2021 Received: (at submit) by debbugs.gnu.org; 25 Nov 2021 13:47:49 +0000 Received: from localhost ([127.0.0.1]:56202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqF6L-0003Zt-4m for submit@debbugs.gnu.org; Thu, 25 Nov 2021 08:47:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:54450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqF6I-0003Zd-WB for submit@debbugs.gnu.org; Thu, 25 Nov 2021 08:47:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqF6H-0007e6-JQ for bug-gnu-emacs@gnu.org; Thu, 25 Nov 2021 08:47:46 -0500 Received: from server.a16n.net ([178.33.238.77]:49650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqF6E-00064m-TG for bug-gnu-emacs@gnu.org; Thu, 25 Nov 2021 08:47:45 -0500 Received: from ws.localdomain (arennes-651-1-236-158.w90-32.abo.wanadoo.fr [90.32.223.158]) by server.a16n.net (Postfix) with ESMTPSA id 8543A43E04CA for ; Thu, 25 Nov 2021 14:41:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a16n.net; s=a16n; t=1637847681; bh=+3nQnpWyP7wFAZfAG3Ng9X9y+i5BDAJwjt9ebKg03g4=; h=From:To:Subject:Date; b=Xb9DwDy1w15kNpaSu3toCzK6CQUmiaXBobTvtwHmR9BlcD4Ui7jQSQQjOwbWiVo77 0MDYATUiZwENsNKUQ9XPAy6ecs3Z5DPVHigafUKlqxAr3i2uwFaxSh+zX0LpDHskcZ RNaQHPNSR9Db9l13Ndy9lCf4KyyvhZZ/hzt0dD10c5q36/lzuIwyjCe7WmHGvGOIy/ 4dJTR4/ov9aPw8qTP5RfgpBCPllPj/tTMF99rvn3zd239arumNPGDwwG1EU5BKYD82 S6E9T3YAeFL79We5M6WTF2G9rn8BmjveBJ525Z0CmtXJjdGZVGAyvUHNWYZwNQC2tA cbbYsmpIxQwwA== Received: by ws.localdomain (Postfix, from userid 1000) id E536C20548; Thu, 25 Nov 2021 14:41:20 +0100 (CET) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Emacs Bugs Subject: 29.0.50; sometimes ispell-message does not check the Subject field Date: Thu, 25 Nov 2021 14:41:20 +0100 Message-ID: <87mtlsqrnj.fsf@a16n.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Received-SPF: pass client-ip=178.33.238.77; envelope-from=pm@a16n.net; helo=server.a16n.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, ispell-message does not check Subject fields, when it finds a sequence with "re ". And in French, there are a lot of words ending with "re"... Please find attached a patch, that fixes the problem. The "Re: " is hardcoded here, just as in message-reply. Kind regards, =2D-=20 Peter --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=my.patch Content-Transfer-Encoding: quoted-printable commit 686bd0550797d0ec6225267914cef5cb0e5a61f6 Author: Peter M=C3=BCnster Date: Thu Nov 25 14:25:18 2021 +0100 Fix spelling of subject line =20=20=20=20 * lisp/textmodes/ispell.el (ispell-message): Only subjects starting with "Re: " are real replies. diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 4087f7e5f2..ce8a82cda7 100644 =2D-- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3977,7 +3977,7 @@ ispell-message (if (re-search-forward "^Subject: *" end-of-headers t) (progn (goto-char (match-end 0)) =2D (if (and (not (looking-at ".*Re\\>")) + (if (and (not (looking-at "Re: ")) (not (looking-at "\\["))) (progn (setq case-fold-search old-case-fold-search) --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iGoEARECACoWIQS/5hHRBUjla4uZVXU6jitvQ7HLaAUCYZ+SgAwccG1AYTE2bi5u ZXQACgkQOo4rb0Oxy2iaIQCeIUJT11UkeZlCf0VXSOVL5bi+begAoOyd8fe7YkdI 31S+yFYA1fzyKk+d =4CJp -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 29 11:10:02 2021 Received: (at 52104) by debbugs.gnu.org; 29 Nov 2021 16:10:02 +0000 Received: from localhost ([127.0.0.1]:39090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrjE9-0005zC-It for submit@debbugs.gnu.org; Mon, 29 Nov 2021 11:10:02 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrjE7-0005yl-Qc for 52104@debbugs.gnu.org; Mon, 29 Nov 2021 11:10:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=SRfyay/Vj9BH4pwsPKw03/yLnNRxOWXjjshVxJMSwPc=; b=QzUSlyXykqgYAVN0v7B4UrIrQc sMwpoaxvvWpjOso66V9dzODmXAQqw/lNHWv+1GF32PmbSHuLn4QBWJ8TPob8OHboimiYYs6vnEXVk 2epDub44KlBO2k/HOlws3MyY43Y8vub/J7TkWzveVCZfHDCp5qj8CBjX3YZzXyiRYqz4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mrjDz-00063U-Ao; Mon, 29 Nov 2021 17:09:53 +0100 From: Lars Ingebrigtsen To: Peter =?utf-8?Q?M=C3=BCnster?= Subject: Re: bug#52104: 29.0.50; sometimes ispell-message does not check the Subject field References: <87mtlsqrnj.fsf@a16n.net> X-Now-Playing: Mia Doi Todd's _Music Life_: "Daughter of Hope" Date: Mon, 29 Nov 2021 17:09:50 +0100 In-Reply-To: <87mtlsqrnj.fsf@a16n.net> ("Peter =?utf-8?Q?M=C3=BCnster=22's?= message of "Thu, 25 Nov 2021 14:41:20 +0100") Message-ID: <87o863t035.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Peter Münster writes: > ispell-message does not check Subject fields, when it finds a sequence > with "re ". And in French, there are a lot of words ending with "re"... > > Please find attached a patch, that fixes the prob [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 52104 Cc: 52104@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Peter M=C3=BCnster writes: > ispell-message does not check Subject fields, when it finds a sequence > with "re ". And in French, there are a lot of words ending with "re"... > > Please find attached a patch, that fixes the problem. > > The "Re: " is hardcoded here, just as in message-reply. ... - (if (and (not (looking-at ".*Re\\>")) + (if (and (not (looking-at "Re: ")) I think this is too strict -- there may not be a : after the Re, and there is often some locale-specific mistranslation of Re somewhere. So I think the right fix here is ".*\\", which I've done in Emacs 29. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 29 11:10:08 2021 Received: (at control) by debbugs.gnu.org; 29 Nov 2021 16:10:09 +0000 Received: from localhost ([127.0.0.1]:39093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrjEG-0005zm-7C for submit@debbugs.gnu.org; Mon, 29 Nov 2021 11:10:08 -0500 Received: from quimby.gnus.org ([95.216.78.240]:59904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrjEE-0005z1-4V for control@debbugs.gnu.org; Mon, 29 Nov 2021 11:10:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=k8rmTxT69DMzbDt7Y2qItcB+cd81BCk0TRdpWH8vKqs=; b=W+8eT82DKD6urDXfKwA6BV7y+V AVGDJqPwVh4moPTebYkMs0Zszv6WXbI55LDDf4GMoSk8DXjJH8a0HaxNgQY2lwZQdKG6SqBG4puzP 9ZL5hKNvFqbLPDfA/E9EDA0nD7PmoYk67/M1KVpzXlh2nL859nIBiOxjNULG+bskGprA=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mrjE6-00063f-GC for control@debbugs.gnu.org; Mon, 29 Nov 2021 17:10:00 +0100 Date: Mon, 29 Nov 2021 17:09:57 +0100 Message-Id: <87mtlnt02y.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #52104 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 52104 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 52104 29.1 quit From unknown Wed Aug 20 02:46:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 28 Dec 2021 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator