From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67360: 29.1; MH-E forwarded email has a mangled default Subject header Date: Sun, 31 Dec 2023 21:17:59 +0200 Message-ID: <834jfy2nbs.fsf@gnu.org> References: <2330410.1700614164@apps0.cs.toronto.edu> <83il5thmsp.fsf@gnu.org> <117576.1701056977@alto> <1842253.1703973929@olgas.newt.com> <1955035.1704041080@olgas.newt.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cks.emacsbugs-01@cs.toronto.edu, kupfer@rawbw.com, 67360@debbugs.gnu.org To: Bill Wohler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 31 20:19:26 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 1rK1LJ-0008cW-Fp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Dec 2023 20:19:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rK1L6-0001Ov-47; Sun, 31 Dec 2023 14:19:12 -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 1rK1Kv-0001Of-8S for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 14:19: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 1rK1Ku-0000UI-Ub for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 14:19:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rK1Kw-0004de-7V for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 14:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Dec 2023 19:19: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.170405030117783 (code B ref 67360); Sun, 31 Dec 2023 19:19:02 +0000 Original-Received: (at 67360) by debbugs.gnu.org; 31 Dec 2023 19:18:21 +0000 Original-Received: from localhost ([127.0.0.1]:47038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rK1KH-0004cl-3Z for submit@debbugs.gnu.org; Sun, 31 Dec 2023 14:18:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rK1KE-0004cW-EW for 67360@debbugs.gnu.org; Sun, 31 Dec 2023 14:18:19 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rK1K1-0000JK-NR; Sun, 31 Dec 2023 14:18:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sMKEWLgAL43m5U2kGX1XAAW5NG5gLYHCgWocWh2/9Tk=; b=RTLSJEVYgHLS BJwMCx2FahPOEiVH1FvWj5MwfQz0TsNgexGLIe1u0RFooXQM8RSaOy6eaN1sMYE1/2dWAUTOv6XtB 0HAjonWKGvwddTvJTX2F8SjUcnb6nL7AxsPLcj8KFMCzHbkqHG7AiGXD/JzOjr/WzDNbbQPpzIu5X 5KHrqb4KcM6oYOOEx7I8L8OOlrPleI0TkC1lgZWEx0GUBMPw3T9jSlA6MeH+5JXvlrhc/0Ws3YHHI ieTq+0pwL2H5VExs+4XexJrD/wCfawpVMwtdOLQGlODKwDDAXcKOqhHkP2UgAQnf0KKTMvJmrD0LH lHwosc+xKLX9Qc468xF5VA==; In-Reply-To: <1955035.1704041080@olgas.newt.com> (message from Bill Wohler on Sun, 31 Dec 2023 08:44:40 -0800) 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:277156 Archived-At: > cc: Mike Kupfer , > Chris Siebenmann , > 67360@debbugs.gnu.org > From: Bill Wohler > Comments: In-reply-to Bill Wohler > message dated "Sat, 30 Dec 2023 14:05:29 -0800." > Date: Sun, 31 Dec 2023 08:44:40 -0800 > > 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... If you think it's safe enough for the release branch, emacs-29 is fine with me. Thanks.