unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51388: 28.0.60; broken display of message/rfc822 MIME part
@ 2021-10-25 15:41 Stephen Berman
  2021-10-29 15:27 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Berman @ 2021-10-25 15:41 UTC (permalink / raw)
  To: 51388

[-- Attachment #1: Type: text/plain, Size: 2270 bytes --]

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@gnus.org>
Commit:     Lars Ingebrigtsen <larsi@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


[-- Attachment #2: test --]
[-- Type: application/octet-stream, Size: 8357 bytes --]

From germanistik+owner@xxxx Tue Apr 13 13:39:39 2021
Return-Path: <germanistik+owner@xxxx>
Delivered-To: unknown
Received: from mail.xxxx (xxx.xxx.42.237:995) by
  strobe-jhalfs.local with POP3-SSL; 13 Apr 2021 11:39:39 -0000
Delivered-To: bermasbp
Received: from mail2.mail.xxxx ([xxxx.xxxx:8:1001::8693:3594])
	by mbx3.mail.xxxx with LMTP
	id cGdpD8OCdWDWEgAAeYMGsQ
	(envelope-from <germanistik+owner@xxxx>)
	for <bermasbp>; Tue, 13 Apr 2021 13:38:43 +0200
Received: from mx1.mail.xxxx ([xxxx.xxxx:8:1001::8693:3594])
	by mail2.mail.xxxx with LMTP
	id GIL7CsOCdWD6ZgAAzGLnSA
	(envelope-from <germanistik+owner@xxxx>)
	for <Stephen.Berman@xxxx>; Tue, 13 Apr 2021 13:38:43 +0200
Received: from mx1.mail.xxxx (localhost [127.0.0.1])
	by mx1.mail.xxxx (Postfix mo-l) with ESMTP id 4FKNsb1DJXz8Sgk
	for <Stephen.Berman@xxxx>; Tue, 13 Apr 2021 13:38:43 +0200 (CEST)
Received: from out1.mail.xxxx (localhost [127.0.0.1])
	by mx1.mail.xxxx (Postfix idis) with ESMTP id 4FKNsb0dtMz8Sgm
	for <Stephen.Berman@xxxx>; Tue, 13 Apr 2021 13:38:43 +0200 (CEST)
X-Auto-Response-Suppress: All
X-Envelope-Sender: <germanistik+owner@xxxx>
X-xxxx-Notes: Internal Noautoreply origin=IPv6:xxxx.xxxx:c:1001::8693:2aee
Received: from mbx5.mail.xxxx (mbx5.mail.xxxx [IPv6:xxxx.xxxx:c:1001::a15:817])
	by out1.mail.xxxx (Postfix mi-int) with ESMTP id 4FKNsZ6kHVz8Sh4
	for <Stephen.Berman@xxxx>; Tue, 13 Apr 2021 13:38:42 +0200 (CEST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.103.1 at mx1.mail.xxxx
Received: by mbx5.mail.xxxx (Postfix, from userid 20549)
	id E25D17592A; Tue, 13 Apr 2021 13:38:42 +0200 (CEST)
X-Sieve: Pigeonhole Sieve 0.5.14 (1b5c82b2)
X-Sieve-Redirected-From: germaxbh+alle
Delivered-To: germaxbh+alle
Received: from mail2.mail.xxxx ([::ffff:xxx.xxx.53.154])
	by mbx5.mail.xxxx with LMTP
	id kBgPEbqCdWCsxwAA7lB5vw
	(envelope-from <daniel.haendel@xxxx>)
	for <germaxbh+alle>; Tue, 13 Apr 2021 13:38:34 +0200
Received: from mx3.mail.xxxx ([::ffff:xxx.xxx.53.154])
	by mail2.mail.xxxx with LMTP
	id mPNVBbqCdWDyZgAAzGLnSA
	(envelope-from <daniel.haendel@xxxx>)
	for <germanistik+alle@xxxx>; Tue, 13 Apr 2021 13:38:34 +0200
Received: from mx3.mail.xxxx (localhost [127.0.0.1])
	by mx3.mail.xxxx (Postfix mo-l) with ESMTP id 4FKNsQ0X2Cz8SbQ
	for <germanistik+alle@xxxx>; Tue, 13 Apr 2021 13:38:34 +0200 (CEST)
Received: from out3.mail.xxxx (localhost [127.0.0.1])
	by mx3.mail.xxxx (Postfix idis) with ESMTP id 4FKNsQ000nz8SZD;
	Tue, 13 Apr 2021 13:38:33 +0200 (CEST)
X-xxxx-Notes: Internal Noautoreply origin=IPv6:xxxx.xxxx:c:1001::8693:2aee
X-Envelope-Sender: <daniel.haendel@xxxx>
X-Auto-Response-Suppress: All
Received: from mail2.mail.xxxx (mail2.mail.xxxx [IPv6:xxxx.xxxx:c:1001::8693:2aee])
	by out3.mail.xxxx (Postfix mi-int) with ESMTP id 4FKNsP5g70z8SbG;
	Tue, 13 Apr 2021 13:38:33 +0200 (CEST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.103.1 at mx3.mail.xxxx
Received: from [xxx.xxx.101.251] (pc-pittner.germanistik.xxxx [xxx.xxx.101.251])
	by mail2.mail.xxxx (Postfix) with ESMTPSA id 4FKNsP48QvzDgyj;
	Tue, 13 Apr 2021 13:38:33 +0200 (CEST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.xxxx
References: <9BD0F84B-1EFC-4F70-9445-D3E1E6878DEE@xxxx>
Subject: Fwd: Elternetzwerk Fwd: Offener Brief Rektor Corona Situation xxxx
 Mitarbeitende - Unterschriften
From: =?UTF-8?Q?Dr=2e_Daniel_H=c3=a4ndel?= <daniel.haendel@xxxx>
X-Forwarded-Message-Id: <9BD0F84B-1EFC-4F70-9445-D3E1E6878DEE@xxxx>
X-Gnus-Mail-Source: file:~/inbox
Message-ID: <dc032166-cc6a-f14a-55f2-96771d45d135@xxxx>
Date: Tue, 13 Apr 2021 13:38:33 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.9.0
MIME-Version: 1.0
To: Verborgene_Empfaenger: ;
In-Reply-To: <9BD0F84B-1EFC-4F70-9445-D3E1E6878DEE@xxxx>
Content-Type: multipart/mixed;
 boundary="------------A0B1DEBD548C7BEDAFE0B906"
Content-Language: de-DE
Xref: strobelfs test:1
Lines: 118
X-Gnus-Article-Number: 1   Mon, 25 Oct 2021 14:52:39 +0200

This is a multi-part message in MIME format.
--------------A0B1DEBD548C7BEDAFE0B906
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit



Freundliche Grüße
Daniel Händel

-- 
Dr. Daniel Händel AR, Geschäftsführer

--------------A0B1DEBD548C7BEDAFE0B906
Content-Type: message/rfc822;
 name="Elternetzwerk Fwd: Offener Brief Rektor Corona Situation xxxx
 Mitarbeitende - Unterschriften.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="Elternetzwerk Fwd: Offener Brief Rektor Corona Situation xxxx";
 filename*1=" Mitarbeitende - Unterschriften.eml"

Return-Path: <anika.meissner@xxxx>
Delivered-To: haenddz3
Received: from mail2.mail.xxxx ([::ffff:xxx.xxx.42.228])
	by mbx5.mail.xxxx with LMTP
	id CGZEAqFmdWBDJAEA7lB5vw
	(envelope-from <anika.meissner@xxxx>)
	for <haenddz3>; Tue, 13 Apr 2021 11:38:41 +0200
Received: from mx2.mail.xxxx ([::ffff:xxx.xxx.42.228])
	by mail2.mail.xxxx with LMTP
	id OPZeMaBmdWCb3QAAzGLnSA
	(envelope-from <anika.meissner@xxxx>)
	for <daniel.haendel@xxxx>; Tue, 13 Apr 2021 11:38:40 +0200
Received: from mx2.mail.xxxx (localhost [127.0.0.1])
	by mx2.mail.xxxx (Postfix mo-l) with ESMTP id 4FKLC45pvVz8SGk
	for <daniel.haendel@xxxx>; Tue, 13 Apr 2021 11:38:40 +0200 (CEST)
Received: from out2.mail.xxxx (localhost [127.0.0.1])
	by mx2.mail.xxxx (Postfix idis) with ESMTP id 4FKLC45C1fz8SGB
	for <daniel.haendel@xxxx>; Tue, 13 Apr 2021 11:38:40 +0200 (CEST)
X-xxxx-Notes: Internal origin=xxx.xxx.42.236
X-Envelope-Sender: <anika.meissner@xxxx>
Received: from mail2.mail.xxxx (mail2.mail.xxxx [xxx.xxx.42.236])
	by out2.mail.xxxx (Postfix mi-int) with ESMTP id 4FKLC448Nxz8SJ6
	for <daniel.haendel@xxxx>; Tue, 13 Apr 2021 11:38:40 +0200 (CEST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.103.1 at mx2.mail.xxxx
Received: from [IPv6:2a02:908:2f37:e9a0:74c1:d96a:5ab:2eda] (unknown [IPv6:2a02:908:2f37:e9a0:74c1:d96a:5ab:2eda])
	by mail2.mail.xxxx (Postfix) with ESMTPSA id 4FKLC42XMdzDgyZ
	for <daniel.haendel@xxxx>; Tue, 13 Apr 2021 11:38:40 +0200 (CEST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.xxxx
From: =?utf-8?Q?Anika_Mei=C3=9Fner?= <anika.meissner@xxxx>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Elternetzwerk Fwd: Offener Brief Rektor Corona Situation xxxx Mitarbeitende - Unterschriften
Date: Tue, 13 Apr 2021 11:38:38 +0200
References: <9cf9f525b2ed6966fe6fed8a87aae085@xxxx>
To: daniel.haendel@xxxx
Message-Id: <9BD0F84B-1EFC-4F70-9445-D3E1E6878DEE@xxxx>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)


Lieber Herr H=C3=A4ndel,

seit kurzem hat sich ein Elternetzwerk an der xxxx gegr=C3=BCndet. Im =
Rahmen dieser Zusammenarbeit entstand ein offener Brief an das Rektorat, =
in der wir die Care-Verpflichtungen und die damit entstehende =
Belastungssituation aller Mitarbeiter*innen an der xxxx schildern. Da ich =
selbst wenig Kontak zu anderen Mitarbeiter*innen unserer Fakult=C3=A4t =
habe, wollte ich Sie fragen, ob Sie die Information entsprechend =
weitertragen k=C3=B6nnten. Angeh=C3=A4ngt findet Sie die Mail des =
Elternnetzwerks mit Link zum Brief, der von allen Unterst=C3=BCtzer*innen =
unterschrieben werden kann.

Herzliche Gr=C3=BC=C3=9Fe
Anika Mei=C3=9Fner


> Anfang der weitergeleiteten Nachricht:
>=20
> Von: Eltern Netzwerk xxxx <elternnetzwerk@xxxx>
> Betreff: Offener Brief Rektor Corona Situation xxxx Mitarbeitende - =
Unterschriften
> Datum: 13. April 2021 um 09:38:38 MESZ
> An: Marcella Woud <marcella.woud@xxxx>
>=20
> Liebe alle,
>=20
> in den letzten Wochen haben einige Eltern des Elternetzwerks, Jule und =
ich an einem offenen Brief an den Rektor gearbeitet, in dem wir auf die =
Situationen der Mitarbeitenden in den anhaltenden Corona Zeiten =
aufmerksam machen. Des Weiteren bitten wir den Rektor in diesem =
Schreiben, mit uns in einen Dialog zu treten, sodass wir zusammen =
=C3=BCberlegen k=C3=B6nnen, wir die Mitarbeiten besser unterst=C3=BCtzt =
werden k=C3=B6nnen.
>=20
> Dieser Brief ist nun online und es w=C3=A4re gro=C3=9Fartig, wenn ihr =
ihn unterschreiben w=C3=BCrdet und an alle, f=C3=BCr die diese =
Initiative wichtig w=C3=A4re, weiterleitet.
>=20
> Hier der Link:
> https://www.xxxx/elternnetzwerk/OffenerBrief.html
>=20
> Lieben Dank,
> Marcella


--------------A0B1DEBD548C7BEDAFE0B906--

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#51388: 28.0.60; broken display of message/rfc822 MIME part
  2021-10-25 15:41 bug#51388: 28.0.60; broken display of message/rfc822 MIME part Stephen Berman
@ 2021-10-29 15:27 ` Lars Ingebrigtsen
  2021-10-29 19:31   ` Stephen Berman
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-10-29 15:27 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 51388

Stephen Berman <stephen.berman@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#51388: 28.0.60; broken display of message/rfc822 MIME part
  2021-10-29 15:27 ` Lars Ingebrigtsen
@ 2021-10-29 19:31   ` Stephen Berman
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Berman @ 2021-10-29 19:31 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 51388

On Fri, 29 Oct 2021 17:27:29 +0200 Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Stephen Berman <stephen.berman@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-29 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 15:41 bug#51388: 28.0.60; broken display of message/rfc822 MIME part Stephen Berman
2021-10-29 15:27 ` Lars Ingebrigtsen
2021-10-29 19:31   ` Stephen Berman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).