GNU bug report logs - #51388
28.0.60; broken display of message/rfc822 MIME part

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Mon, 25 Oct 2021 15:42:01 UTC

Severity: normal

Found in version 28.0.60

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 51388 in the body.
You can then email your comments to 51388 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#51388; Package emacs. (Mon, 25 Oct 2021 15:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stephen Berman <stephen.berman <at> gmx.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 25 Oct 2021 15:42:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.60; broken display of message/rfc822 MIME part
Date: Mon, 25 Oct 2021 17:41:08 +0200
[Message part 1 (text/plain, inline)]
0. Save the attached file e.g. as "~/test".
1. emacs -Q
2. M-x gnus, type `y' at the prompt.
3. In the *Group* buffer type `G f test RET'.
4. Type RET to enter Gnus Summary mode showing the file as mail.
5. In the Summary buffer type RET to open the mail.
6. In the Summary buffer type `2 b' to open the buttonized
   message/rfc822 attachment display in the Article buffer.
=> The attachment is displayed as the untreated raw text of the file
(i.e. with all headers, quoted-printable-encoded) instead of as a normal
email, as it is when repeating the recipe in emacs-27.

This bug is due to this change (reverting it restores the emacs-27
display):

commit 748bf7b93edcfd1707fa3f593a330979e280eb49
Author:     Lars Ingebrigtsen <larsi <at> gnus.org>
Commit:     Lars Ingebrigtsen <larsi <at> gnus.org>
CommitDate: Tue Jul 6 16:34:24 2021 +0200

    Allow using `mm-inline-message' from other mail clients than Gnus

    * lisp/gnus/mm-view.el (mm-inline-message-prepare-function): New
    variable (bug#49380).
    (mm-inline-message): Use it to separate out the Gnus-specific code.
    * lisp/gnus/gnus-art.el (gnus-mime-display-single): ... which has
    been moved here.

When debugging I see that mm-inline-message-prepare-function is nil in
mm-inline-message.  AFAICT this is because at step 6 in the recipe,
gnus-mime-display-part is not called, and hence gnus-mime-display-single
is not called.  But I haven't figured out why gnus-mime-display-part is
not called.


In GNU Emacs 28.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.17.4)
 of 2021-10-16 built on strobelfs
Repository revision: ac6ac76e3ae5ca96607ac7eba4a3ccf146fc8815
Repository branch: emacs-28
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Linux From Scratch 10.2-rc1

Configured using:
 'configure --with-native-compilation 'CFLAGS=-Og -g3''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM
GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

[test (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51388; Package emacs. (Fri, 29 Oct 2021 15:28:02 GMT) Full text and rfc822 format available.

Message #8 received at 51388 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 51388 <at> debbugs.gnu.org
Subject: Re: bug#51388: 28.0.60; broken display of message/rfc822 MIME part
Date: Fri, 29 Oct 2021 17:27:29 +0200
Stephen Berman <stephen.berman <at> gmx.net> writes:

> 0. Save the attached file e.g. as "~/test".
> 1. emacs -Q
> 2. M-x gnus, type `y' at the prompt.
> 3. In the *Group* buffer type `G f test RET'.
> 4. Type RET to enter Gnus Summary mode showing the file as mail.
> 5. In the Summary buffer type RET to open the mail.
> 6. In the Summary buffer type `2 b' to open the buttonized
>    message/rfc822 attachment display in the Article buffer.
> => The attachment is displayed as the untreated raw text of the file
> (i.e. with all headers, quoted-printable-encoded) instead of as a normal
> email, as it is when repeating the recipe in emacs-27.

I've now fixed this on the emacs-28 branch.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 51388 <at> debbugs.gnu.org and Stephen Berman <stephen.berman <at> gmx.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 29 Oct 2021 15:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51388; Package emacs. (Fri, 29 Oct 2021 19:32:02 GMT) Full text and rfc822 format available.

Message #13 received at 51388 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 51388 <at> debbugs.gnu.org
Subject: Re: bug#51388: 28.0.60; broken display of message/rfc822 MIME part
Date: Fri, 29 Oct 2021 21:31:04 +0200
On Fri, 29 Oct 2021 17:27:29 +0200 Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> 0. Save the attached file e.g. as "~/test".
>> 1. emacs -Q
>> 2. M-x gnus, type `y' at the prompt.
>> 3. In the *Group* buffer type `G f test RET'.
>> 4. Type RET to enter Gnus Summary mode showing the file as mail.
>> 5. In the Summary buffer type RET to open the mail.
>> 6. In the Summary buffer type `2 b' to open the buttonized
>>    message/rfc822 attachment display in the Article buffer.
>> => The attachment is displayed as the untreated raw text of the file
>> (i.e. with all headers, quoted-printable-encoded) instead of as a normal
>> email, as it is when repeating the recipe in emacs-27.
>
> I've now fixed this on the emacs-28 branch.

FTR, I confirm the bug is fixed.  Thanks!

Steve Beramn




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 27 Nov 2021 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.