From unknown Sat Sep 20 13:00:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79287: [PATCH] Fix submit-emacs-patch MIME type Resent-From: Steven Allen Original-Sender: "Debbugs-submit" Resent-CC: philipk@posteo.net, bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Aug 2025 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 79287 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 79287@debbugs.gnu.org Cc: Philip Kaludercic X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Philip Kaludercic Received: via spool by submit@debbugs.gnu.org id=B.175580065917853 (code B ref -1); Thu, 21 Aug 2025 18:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Aug 2025 18:24:19 +0000 Received: from localhost ([127.0.0.1]:32943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1up9xS-0004dt-KM for submit@debbugs.gnu.org; Thu, 21 Aug 2025 14:24:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46334) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1up9xP-0004dc-Sq for submit@debbugs.gnu.org; Thu, 21 Aug 2025 14:24:16 -0400 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 1up9xJ-0008Vo-9R for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2025 14:24:09 -0400 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1up9xF-0007fM-Nb for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2025 14:24:09 -0400 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 03C51EC08E8 for ; Thu, 21 Aug 2025 14:24:04 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Thu, 21 Aug 2025 14:24:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1755800643; x=1755887043; bh=wBGmVcOWI5GXFdiZMvbZzh5V6ZfDixoh 0VvBUrhokjI=; b=dVx7Rv5E5wGi0psPVKHKyHVPxae2LZKWnZtGOxyWUs5hu6Yz VBkQolYf2wEjOtLPwq2XO3PwDr1HwmcmtDSJhj3QrTAvjivR+0a+U1Iyrjhpmhqg 0n7pq6/XlpMoTvO71zN6QXN0RM4S3UE3byLzbJ565Fh02DMJEt90b8qkUQX1FAmx V4poJJH90GgkxowSxbTyd0WGv6pEhDOp8cfLWZ1hr5e/DoQe2ej2SpCpWpRydNwI nJnw2C2lkx/X74BVAe9i5TYAjFBJXsnHBEmhbix+J+ySe1GHlRGFxLhnx5gAlzPo Zo1PwxkG3fOBwCl+hJ0wIJSOy75IQphCTYlqLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1755800643; x= 1755887043; bh=wBGmVcOWI5GXFdiZMvbZzh5V6ZfDixoh0VvBUrhokjI=; b=I 6x3sSf1SBW/khl6AjtvYMMZ/1dtObNh2yNNzkxn0qJ9zwFJxoQjHmBwEYZ8JfsuQ GE/hsGhkNFSRe716W3i86Z9rR9IdtYIinBF+JU/B+MVcVI0kMUMeS6AGtSgKoxGa lWcFO/som1dY3ETftzvu1TG0oCq+Pxf+eDs8d0obi6Kw9YU3CjUgmZYMRM6Tw9bt tuNyNvyKjqlPA9oAmSDuCYJZqFWGpTErCnwOfOz1YdqqXMJYlZLuWNgtUoJki5Rc AZlxoq7L41AL4UaN5U2sMQcQZ8A2Upu3x3J8YC/RszAPf1g3i5yNrIR8Jh2JBH1F efh3wdSuAXUtnhcmStOyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduieduleegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehmtderredttddtne cuhfhrohhmpefuthgvvhgvnhcutehllhgvnhcuoehsthgvvhgvnhesshhtvggsrghlihgv nhdrtghomheqnecuggftrfgrthhtvghrnhepkefffffgveethedtieffleffgeekvdeiie egheeftdetjeekfefhvedttdekfeffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepshhtvghvvghnsehsthgvsggrlhhivghnrdgtohhmpdhnsg gprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegsuhhgqdhg nhhuqdgvmhgrtghssehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 21 Aug 2025 14:24:03 -0400 (EDT) From: Steven Allen Date: Thu, 21 Aug 2025 11:23:40 -0700 Message-ID: <87bjo8cz4j.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=103.168.172.146; envelope-from=steven@stebalien.com; helo=fout-a3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) 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: -0.3 (/) --=-=-= Content-Type: text/plain Tags: patch Change from text/patch to text/x-patch. In GNU Emacs 31.0.50 (build 3, x86_64-pc-linux-gnu, cairo version 1.18.4) of 2025-08-21 built on Laptop Repository revision: 32b65fefb61426d76c9c899dbd3e4a1b8ed774b2 Repository branch: merged Windowing system distributor 'The X.Org Foundation', version 11.0.12101018 System Description: Arch Linux Configured using: 'configure 'CPPFLAGS=-I/run/user/1000/build/emacs-git/src/mps-git/build/include ' 'LDFLAGS=-L/run/user/1000/build/emacs-git/src/mps-git/build/lib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto' --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-m17n-flt --without-selinux --without-pop --without-gconf --disable-gc-mark-trace --with-mps=yes --enable-link-time-optimization --with-native-compilation=yes --with-xinput2 --with-x-toolkit=no --without-toolkit-scroll-bars --without-xaw3d --without-gsettings --with-cairo-xcb --without-xft --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-math-errno -fno-trapping-math -flto=auto' 'CXXFLAGS=-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fomit-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto'' --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-submit-emacs-patch-MIME-type.patch >From ada1f311b7917709ea370d37ae9a21eb11913189 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 21 Aug 2025 11:15:02 -0700 Subject: [PATCH] Fix submit-emacs-patch MIME type The correct MIME type is text/x-patch. Otherwise, `mm-inline-media-tests' won't recognize and fontify the patch. * lisp/mail/emacsbug.el (submit-emacs-patch): Use the correct MIME type for patches. --- lisp/mail/emacsbug.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index d43647a12ca..4872f721aa5 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -587,7 +587,7 @@ submit-emacs-patch (message-goto-body) (insert "\n\n\n") (emacs-build-description) - (mml-attach-file file "text/patch" nil "attachment") + (mml-attach-file file "text/x-patch" nil "attachment") (message-goto-body) (message "Write a description of the patch and use %s to send it" (substitute-command-keys "\\[message-send-and-exit]")) -- 2.50.1 --=-=-=-- From unknown Sat Sep 20 13:00:29 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Steven Allen Subject: bug#79287: closed (Re: bug#79287: [PATCH] Fix submit-emacs-patch MIME type) Message-ID: References: <877bywmog0.fsf@posteo.net> <87bjo8cz4j.fsf@stebalien.com> X-Gnu-PR-Message: they-closed 79287 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 79287@debbugs.gnu.org Date: Thu, 21 Aug 2025 20:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1755806702-3549-1" This is a multi-part message in MIME format... ------------=_1755806702-3549-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #79287: [PATCH] Fix submit-emacs-patch MIME type which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 79287@debbugs.gnu.org. --=20 79287: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79287 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1755806702-3549-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 79287-done) by debbugs.gnu.org; 21 Aug 2025 20:04:28 +0000 Received: from localhost ([127.0.0.1]:33144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1upBWN-0000uD-PR for submit@debbugs.gnu.org; Thu, 21 Aug 2025 16:04:28 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60961) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1upBWI-0000tx-MJ for 79287-done@debbugs.gnu.org; Thu, 21 Aug 2025 16:04:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9CB46240101 for <79287-done@debbugs.gnu.org>; Thu, 21 Aug 2025 22:04:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1755806656; bh=T1GMAvsV2YTR7agE42ojogx9/dgiLfdcH43/SxH9Vq8=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=bZwhWRm6fbn/4W0wrzhU6UxKLSB1bkT2ExQw4BSFvtPFjtRCtO7GsWvB/1h9MJTMo 397Jndv5jfa169XPcLPyQgp6KpTiTjgbb8PQBbo5/RaEhgEKB45Ee041DU+HTKqWlN 652nCnQGnhIyGEYgDjlhp4m5mBUo3cYpyCRZOb+4EZwnV207R/aHAvTjye36f+fDTF eaACOybeshTAZGYaTICqVO5pPeGTBC1DNQREdkft1OstgauniCI2Uq8tfGZDXwF9qu UXIaNCBAb1+tX9GeIlS7PS4FaNwRXVgWO2uSWP4qPlCabB6bqxTG6upK9qEqbPvWjz hcQ8wyTBQiNFA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4c7Dmc0MrQz9rxQ; Thu, 21 Aug 2025 22:04:15 +0200 (CEST) From: Philip Kaludercic To: Steven Allen Subject: Re: bug#79287: [PATCH] Fix submit-emacs-patch MIME type In-Reply-To: <87bjo8cz4j.fsf@stebalien.com> References: <87bjo8cz4j.fsf@stebalien.com> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Date: Thu, 21 Aug 2025 20:04:16 +0000 Message-ID: <877bywmog0.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79287-done Cc: 79287-done@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 (---) The patch makes sense and I have pushed it to the master branch with minor modifications to the commit message. Thanks! Steven Allen writes: > Tags: patch > > > Change from text/patch to text/x-patch. > > In GNU Emacs 31.0.50 (build 3, x86_64-pc-linux-gnu, cairo version > 1.18.4) of 2025-08-21 built on Laptop > Repository revision: 32b65fefb61426d76c9c899dbd3e4a1b8ed774b2 > Repository branch: merged > Windowing system distributor 'The X.Org Foundation', version 11.0.12101018 > System Description: Arch Linux > > Configured using: > 'configure > 'CPPFLAGS=-I/run/user/1000/build/emacs-git/src/mps-git/build/include ' > 'LDFLAGS=-L/run/user/1000/build/emacs-git/src/mps-git/build/lib -Wl,-O1 > -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now > -Wl,-z,pack-relative-relocs -flto=auto' --prefix=/usr --sysconfdir=/etc > --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man > --with-gameuser=:games --with-modules --without-m17n-flt > --without-selinux --without-pop --without-gconf --disable-gc-mark-trace > --with-mps=yes --enable-link-time-optimization > --with-native-compilation=yes --with-xinput2 --with-x-toolkit=no > --without-toolkit-scroll-bars --without-xaw3d --without-gsettings > --with-cairo-xcb --without-xft --with-sound=no --with-tree-sitter > --without-gpm --without-compress-install > '--program-transform-name=s/\([ec]tags\)/\1.emacs/' > 'CFLAGS=-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions > -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security > -fstack-clash-protection -fcf-protection -fomit-frame-pointer > -fno-math-errno -fno-trapping-math -fno-math-errno -fno-trapping-math > -flto=auto' 'CXXFLAGS=-march=native -mtune=native -O3 -pipe -fno-plt > -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security > -fstack-clash-protection -fcf-protection -fomit-frame-pointer > -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto'' ------------=_1755806702-3549-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Aug 2025 18:24:19 +0000 Received: from localhost ([127.0.0.1]:32943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1up9xS-0004dt-KM for submit@debbugs.gnu.org; Thu, 21 Aug 2025 14:24:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46334) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1up9xP-0004dc-Sq for submit@debbugs.gnu.org; Thu, 21 Aug 2025 14:24:16 -0400 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 1up9xJ-0008Vo-9R for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2025 14:24:09 -0400 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1up9xF-0007fM-Nb for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2025 14:24:09 -0400 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 03C51EC08E8 for ; Thu, 21 Aug 2025 14:24:04 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Thu, 21 Aug 2025 14:24:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stebalien.com; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1755800643; x=1755887043; bh=wBGmVcOWI5GXFdiZMvbZzh5V6ZfDixoh 0VvBUrhokjI=; b=dVx7Rv5E5wGi0psPVKHKyHVPxae2LZKWnZtGOxyWUs5hu6Yz VBkQolYf2wEjOtLPwq2XO3PwDr1HwmcmtDSJhj3QrTAvjivR+0a+U1Iyrjhpmhqg 0n7pq6/XlpMoTvO71zN6QXN0RM4S3UE3byLzbJ565Fh02DMJEt90b8qkUQX1FAmx V4poJJH90GgkxowSxbTyd0WGv6pEhDOp8cfLWZ1hr5e/DoQe2ej2SpCpWpRydNwI nJnw2C2lkx/X74BVAe9i5TYAjFBJXsnHBEmhbix+J+ySe1GHlRGFxLhnx5gAlzPo Zo1PwxkG3fOBwCl+hJ0wIJSOy75IQphCTYlqLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1755800643; x= 1755887043; bh=wBGmVcOWI5GXFdiZMvbZzh5V6ZfDixoh0VvBUrhokjI=; b=I 6x3sSf1SBW/khl6AjtvYMMZ/1dtObNh2yNNzkxn0qJ9zwFJxoQjHmBwEYZ8JfsuQ GE/hsGhkNFSRe716W3i86Z9rR9IdtYIinBF+JU/B+MVcVI0kMUMeS6AGtSgKoxGa lWcFO/som1dY3ETftzvu1TG0oCq+Pxf+eDs8d0obi6Kw9YU3CjUgmZYMRM6Tw9bt tuNyNvyKjqlPA9oAmSDuCYJZqFWGpTErCnwOfOz1YdqqXMJYlZLuWNgtUoJki5Rc AZlxoq7L41AL4UaN5U2sMQcQZ8A2Upu3x3J8YC/RszAPf1g3i5yNrIR8Jh2JBH1F efh3wdSuAXUtnhcmStOyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduieduleegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehmtderredttddtne cuhfhrohhmpefuthgvvhgvnhcutehllhgvnhcuoehsthgvvhgvnhesshhtvggsrghlihgv nhdrtghomheqnecuggftrfgrthhtvghrnhepkefffffgveethedtieffleffgeekvdeiie egheeftdetjeekfefhvedttdekfeffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepshhtvghvvghnsehsthgvsggrlhhivghnrdgtohhmpdhnsg gprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegsuhhgqdhg nhhuqdgvmhgrtghssehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: ie8a146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 21 Aug 2025 14:24:03 -0400 (EDT) From: Steven Allen To: bug-gnu-emacs@gnu.org Subject: [PATCH] Fix submit-emacs-patch MIME type X-Debbugs-Cc: Philip Kaludercic Date: Thu, 21 Aug 2025 11:23:40 -0700 Message-ID: <87bjo8cz4j.fsf@stebalien.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=103.168.172.146; envelope-from=steven@stebalien.com; helo=fout-a3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) 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: -0.3 (/) --=-=-= Content-Type: text/plain Tags: patch Change from text/patch to text/x-patch. In GNU Emacs 31.0.50 (build 3, x86_64-pc-linux-gnu, cairo version 1.18.4) of 2025-08-21 built on Laptop Repository revision: 32b65fefb61426d76c9c899dbd3e4a1b8ed774b2 Repository branch: merged Windowing system distributor 'The X.Org Foundation', version 11.0.12101018 System Description: Arch Linux Configured using: 'configure 'CPPFLAGS=-I/run/user/1000/build/emacs-git/src/mps-git/build/include ' 'LDFLAGS=-L/run/user/1000/build/emacs-git/src/mps-git/build/lib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto' --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-m17n-flt --without-selinux --without-pop --without-gconf --disable-gc-mark-trace --with-mps=yes --enable-link-time-optimization --with-native-compilation=yes --with-xinput2 --with-x-toolkit=no --without-toolkit-scroll-bars --without-xaw3d --without-gsettings --with-cairo-xcb --without-xft --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-math-errno -fno-trapping-math -flto=auto' 'CXXFLAGS=-march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fomit-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto'' --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-submit-emacs-patch-MIME-type.patch >From ada1f311b7917709ea370d37ae9a21eb11913189 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 21 Aug 2025 11:15:02 -0700 Subject: [PATCH] Fix submit-emacs-patch MIME type The correct MIME type is text/x-patch. Otherwise, `mm-inline-media-tests' won't recognize and fontify the patch. * lisp/mail/emacsbug.el (submit-emacs-patch): Use the correct MIME type for patches. --- lisp/mail/emacsbug.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index d43647a12ca..4872f721aa5 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -587,7 +587,7 @@ submit-emacs-patch (message-goto-body) (insert "\n\n\n") (emacs-build-description) - (mml-attach-file file "text/patch" nil "attachment") + (mml-attach-file file "text/x-patch" nil "attachment") (message-goto-body) (message "Write a description of the patch and use %s to send it" (substitute-command-keys "\\[message-send-and-exit]")) -- 2.50.1 --=-=-=-- ------------=_1755806702-3549-1--