GNU bug report logs -
#35236
27.0.50; Make application/x-patch inlinable
Previous Next
Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Date: Thu, 11 Apr 2019 21:49:01 UTC
Severity: wishlist
Tags: patch
Found in version 5.13
Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35236 in the body.
You can then email your comments to 35236 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#35236
; Package
emacs,gnus
.
(Thu, 11 Apr 2019 21:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Basil L. Contovounesios" <contovob <at> tcd.ie>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
.
(Thu, 11 Apr 2019 21:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Severity: wishlist
The patch attached in bug#33016#29[1] shows up as application/x-patch,
rather than the more common text/x-patch or text/x-diff.
[1] https://debbugs.gnu.org/33016#29
IWBNI Gnus recognised this mime type as inlinable, similar to the other
two. Patch to follow.
Thanks,
--
Basil
Gnus v5.13
GNU Emacs 27.0.50 (build 9, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2019-04-11
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#35236
; Package
emacs,gnus
.
(Thu, 11 Apr 2019 21:55:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 35236 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
tags 35236 patch
quit
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
> Patch to follow.
Here it is:
[0001-Make-application-x-patch-inlinable-in-mm-decode.el.patch (text/x-diff, inline)]
From 543c4cf9099abee5ece33c3200d48962e52cde30 Mon Sep 17 00:00:00 2001
From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Date: Thu, 11 Apr 2019 14:42:20 +0100
Subject: [PATCH] Make application/x-patch inlinable in mm-decode.el
* lisp/gnus/mm-decode.el (mm-inline-media-tests, mm-inlined-types):
Include application/x-patch as a synonym of text/x-patch and
text/x-diff. (bug#35236)
---
lisp/gnus/mm-decode.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index 3f255419e7..93b57706f8 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -236,6 +236,7 @@ mm-inline-media-tests
("text/x-patch" mm-display-patch-inline identity)
;; In case mime.types uses x-diff (as does Debian's mime-support-3.40).
("text/x-diff" mm-display-patch-inline identity)
+ ("application/x-patch" mm-display-patch-inline identity)
("application/emacs-lisp" mm-display-elisp-inline identity)
("application/x-emacs-lisp" mm-display-elisp-inline identity)
("application/x-shellscript" mm-display-shell-script-inline identity)
@@ -303,8 +304,9 @@ mm-inline-media-tests
(defcustom mm-inlined-types
'("image/.*" "text/.*" "message/delivery-status" "message/rfc822"
- "message/partial" "message/external-body" "application/emacs-lisp"
- "application/x-emacs-lisp"
+ "message/partial" "message/external-body"
+ "application/x-patch"
+ "application/emacs-lisp" "application/x-emacs-lisp"
"application/pgp-signature" "application/x-pkcs7-signature"
"application/pkcs7-signature" "application/x-pkcs7-mime"
"application/pkcs7-mime"
--
2.20.1
[Message part 3 (text/plain, inline)]
WDYT? Thanks,
--
Basil
Added tag(s) patch.
Request was from
"Basil L. Contovounesios" <contovob <at> tcd.ie>
to
control <at> debbugs.gnu.org
.
(Thu, 11 Apr 2019 21:55:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#35236
; Package
emacs,gnus
.
(Tue, 07 May 2019 17:17:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 35236 <at> debbugs.gnu.org (full text, mbox):
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
> "Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
>
>> Patch to follow.
>
> Here it is:
>
> From 543c4cf9099abee5ece33c3200d48962e52cde30 Mon Sep 17 00:00:00 2001
> From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
> Date: Thu, 11 Apr 2019 14:42:20 +0100
> Subject: [PATCH] Make application/x-patch inlinable in mm-decode.el
>
> * lisp/gnus/mm-decode.el (mm-inline-media-tests, mm-inlined-types):
> Include application/x-patch as a synonym of text/x-patch and
> text/x-diff. (bug#35236)
> ---
> lisp/gnus/mm-decode.el | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
> index 3f255419e7..93b57706f8 100644
> --- a/lisp/gnus/mm-decode.el
> +++ b/lisp/gnus/mm-decode.el
> @@ -236,6 +236,7 @@ mm-inline-media-tests
> ("text/x-patch" mm-display-patch-inline identity)
> ;; In case mime.types uses x-diff (as does Debian's mime-support-3.40).
> ("text/x-diff" mm-display-patch-inline identity)
> + ("application/x-patch" mm-display-patch-inline identity)
> ("application/emacs-lisp" mm-display-elisp-inline identity)
> ("application/x-emacs-lisp" mm-display-elisp-inline identity)
> ("application/x-shellscript" mm-display-shell-script-inline identity)
> @@ -303,8 +304,9 @@ mm-inline-media-tests
>
> (defcustom mm-inlined-types
> '("image/.*" "text/.*" "message/delivery-status" "message/rfc822"
> - "message/partial" "message/external-body" "application/emacs-lisp"
> - "application/x-emacs-lisp"
> + "message/partial" "message/external-body"
> + "application/x-patch"
> + "application/emacs-lisp" "application/x-emacs-lisp"
> "application/pgp-signature" "application/x-pkcs7-signature"
> "application/pkcs7-signature" "application/x-pkcs7-mime"
> "application/pkcs7-mime"
> --
> 2.20.1
>
>
> WDYT?
The suggested change seems harmless enough to me, so I intend to push it
to master within the next week if there are no objections before then.
Thanks,
--
Basil
Reply sent
to
"Basil L. Contovounesios" <contovob <at> tcd.ie>
:
You have taken responsibility.
(Sun, 12 May 2019 11:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Basil L. Contovounesios" <contovob <at> tcd.ie>
:
bug acknowledged by developer.
(Sun, 12 May 2019 11:46:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 35236-done <at> debbugs.gnu.org (full text, mbox):
tags 35236 fixed
close 35236
quit
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
> The suggested change seems harmless enough to me, so I intend to push it
> to master within the next week if there are no objections before then.
I pushed it to master[1] and am therefore closing this report.
[1: bb60144d00]: Make application/x-patch inlinable in mm-decode.el
2019-05-12 12:27:40 +0100
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=bb60144d00fce90d7db1fdb5b67d6aa266e5010a
--
Basil
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 10 Jun 2019 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.