From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bill Wohler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67360: 29.1; MH-E forwarded email has a mangled default Subject header Date: Sun, 31 Dec 2023 08:44:40 -0800 Organization: Newt Software Message-ID: <1955035.1704041080@olgas.newt.com> References: <2330410.1700614164@apps0.cs.toronto.edu> <83il5thmsp.fsf@gnu.org> <117576.1701056977@alto> <1842253.1703973929@olgas.newt.com> Reply-To: Bill Wohler Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13740"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Chris Siebenmann , Mike Kupfer , 67360@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 31 17:45:15 2023 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 1rJyw6-0003Ko-Gf for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Dec 2023 17:45:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJyvv-0006Ve-TJ; Sun, 31 Dec 2023 11:45:04 -0500 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 1rJyvt-0006VP-Ud for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 11:45:01 -0500 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 1rJyvt-0002ph-Ky for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 11:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJyvu-0005oq-9L for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 11:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bill Wohler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Dec 2023 16:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67360 X-GNU-PR-Package: emacs Original-Received: via spool by 67360-submit@debbugs.gnu.org id=B67360.170404109422331 (code B ref 67360); Sun, 31 Dec 2023 16:45:02 +0000 Original-Received: (at 67360) by debbugs.gnu.org; 31 Dec 2023 16:44:54 +0000 Original-Received: from localhost ([127.0.0.1]:46923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJyvl-0005o6-TP for submit@debbugs.gnu.org; Sun, 31 Dec 2023 11:44:54 -0500 Original-Received: from se4q-iad1.servconfig.com ([199.250.217.82]:37359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJyvj-0005nq-C4 for 67360@debbugs.gnu.org; Sun, 31 Dec 2023 11:44:52 -0500 Original-Received: from ecbiz329.inmotionhosting.com ([209.182.198.38]) by se4-iad1.servconfig.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1rJyva-000Atw-Av; Sun, 31 Dec 2023 11:44:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-Transfer-Encoding:Content-ID: Content-Type:MIME-Version:References:In-reply-to:Subject:From:cc:to:Sender: Reply-To: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=9dAbrS5LZcFhILPk6v7IiC5zatKQLyMhuCcWjXwkJfc=; b=spX3D1OEE93vz0ItMN/qNYYv/8 WZ9V8QseWMUdT3n8Qh/eSdzjh2l3Nv5kQ2yeRRTpGt05rHkILnFGkT3uA2WCYfpWf34ojdqgN7c4F RmM9MOHFBMH2jAalfnb4DwSrrc3JrsxRdpSiFtQPUA1pn6TCa1N8BRBCMTdnFpAhZayqMxZjt06NF Q7WJKrgvmf8JeFV6B/qQDxuogJa1OruUyOBLO17+XZ/YoKtjTOPFhMrScwsw/zMZocuTTIduUSDU2 dcNAX1oENjEAy3rROHgCXvT42234+qqVaNnw+6pZaXNZbAZ/Aayf2uoz2wvPJhXjUpkgxsE0PZqZG VGUTZKEQ==; Original-Received: from [24.4.147.188] (port=36144 helo=olgas.newt.com) by ecbiz329.inmotionhosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rJyvZ-007cxP-1h; Sun, 31 Dec 2023 11:44:41 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id A27A7381F0B; Sun, 31 Dec 2023 08:44:40 -0800 (PST) In-reply-to: <1842253.1703973929@olgas.newt.com> Comments: In-reply-to Bill Wohler message dated "Sat, 30 Dec 2023 14:05:29 -0800." X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 30.0.50 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Content-ID: <1955034.1704041080.1@olgas.newt.com> X-Get-Message-Sender-Via: ecbiz329.inmotionhosting.com: authenticated_id: wohler@newt.com X-Authenticated-Sender: ecbiz329.inmotionhosting.com: wohler@newt.com X-Originating-IP: 209.182.198.38 X-SpamExperts-Domain: ecbiz329.inmotionhosting.com X-SpamExperts-Username: 209.182.198.38 Authentication-Results: servconfig.com; auth=pass smtp.auth=209.182.198.38@ecbiz329.inmotionhosting.com X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.10) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT/kWzy+/wHRdL8Ec0fp3zO1PUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wPNj8CRzrsGB7ugNp6dkMIG6S2l0Sq0XyAP7CL22R+h7Qy nBdRnGcStIJd2ozIafxMBhQwZ4U+dP0cDUdUHxwFkzGIyEDKB5+tuM/BiYkNNtjLQNCIemmyp7tp LvZV4fGqkaWbbOMJrh1zQUl46B+CqlX864Kii7zhVFtfF/BW3QK/NzaQ0kU5LIjXaSmvljzrv6uv y67bPy9KnwerIPD7+EJh3GmpTMtirFB1CX1Gmfdp637QXBUN6CLyeuzX+S3o06Pbn32ePf/zaJyv Vrl2JjoOGLTNO2+ha6tRjO/eIsCGpH6KPvCaPYMwmktYRls2JrO8Qv8RArq2MwWaNnh+UuIF2yn0 3s7TS3ghm2vgBpb5Pn6ftQZVK9K8EAjn37sUg69eDYNe2itClT3S7bjQUCo5PZJsLcY5FmNhp+JD xofgBwPJRy2KP3xL3XdLYqV41APOGyRuqKbOun7vlQzhwfhpspQKRAIBFcUdSV85+USmicW4BKeo lukxoVI4SaNoMMMh30z0ou3Uma6ICBqohxGGNNFI1AuNleg/0I92t9xCHahZfsjvoDKdqQReE7op ol7/zxbDwFIVzeFgpWdBcxw3qqhc+N6cuEg4XWh5Fq9D8y81M79IYqpO94EpO3J1Sa95X7KslAQd 00yE9RPO/TiLAZRMv2batgSscFTnztm0ZFmyUDLBGs3sQM5xYpEkNFI/tMRrMWPNph6/qaBnaL3D 5sbF+pWUUp/BhR8+AAGEl7PZ0dsWG X-Report-Abuse-To: spam@se1-lax1.servconfig.com 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:277151 Archived-At: Eli, Would you prefer that I apply Mike's patch to emacs-29 or master? > diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el > index 92d31bf1826..0d1dcdf626a 100644 > --- a/lisp/mh-e/mh-comp.el > +++ b/lisp/mh-e/mh-comp.el > @@ -574,7 +574,7 @@ mh-forward > (setq orig-subject (mh-get-header-field "Subject:"))) > (let ((forw-subject > (mh-forwarded-letter-subject orig-from orig-subject))) > - (mh-insert-fields "Subject:" forw-subject) > + (mh-modify-header-field "Subject" forw-subject t) > (goto-char (point-min)) > ;; Set the local value of mh-mail-header-separator according to= what is > ;; present in the buffer... -- = Bill Wohler aka http://www.newt.com/wohler/, GnuPG ID:610BD9AD