* problem when extracting MIME parts
@ 2015-02-24 22:06 Adrian Lanz
2015-02-25 2:40 ` Katsumi Yamaoka
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Lanz @ 2015-02-24 22:06 UTC (permalink / raw)
To: ding
In my configuration (Gnus v5.13), MIME part extraction does not work,
currently, for a few mail messages (typically X-Mailer: Apple Mail) -
everything as intended for most mail messages, though.
What happens is the following: Upon C-o (gnus-mime-save-part-and-strip)
the MIME part is saved (as expected), but the mail itself gets lost.
A (stripped-down) example of such a mail message is below.
The only "reminder" of the mail message in the nnfolder backend file is:
From nobody Tue Feb 24 22:07:51 2015
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
and the debugger (only if activated via debug-on-error) shows:
Debugger entered--Lisp error: (error "No such part")
signal(error ("No such part"))
error("No such part")
gnus-article-jump-to-part(0)
gnus-mime-save-part-and-strip()
funcall-interactively(gnus-mime-save-part-and-strip)
call-interactively(gnus-mime-save-part-and-strip nil nil)
command-execute(gnus-mime-save-part-and-strip)
The problem manifests for several weeks now, but I couldn't trace its
origin: change in Gnus, change in my configuration, change in in the
format of (Apple Mail) mail messages.
Any help/hint greatly appreciated.
--8<---------------cut here---------------start------------->8---
From p.z@pz.com Tue Feb 24 17:31:32 2015
Received: from localhost (localhost [127.0.0.1])
by localhost (IMP-POPDELIVER V4.0) for postoffice fg.com
From: p.z@pz.com
Content-Type: multipart/alternative; boundary="Apple-Mail=_4D830695-FAA7-4A39-A37A-BDE75370F390"
Date: Tue, 24 Feb 2015 17:31:32 +0100
Subject: Woh
To: a@l.name
Message-Id: <2E3601E2-0816-4923-80A2-27D8F7A87B38@pz.com>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
X-Mailer: Apple Mail (2.2070.6)
X-UIDL: 25b3a82c02ec149932fd0c440f6153a5
--Apple-Mail=_4D830695-FAA7-4A39-A37A-BDE75370F390
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
=20
Guten Abend
--Apple-Mail=_4D830695-FAA7-4A39-A37A-BDE75370F390
Content-Type: multipart/mixed;
boundary="Apple-Mail=_541B88BE-BBE6-458B-9608-D33BF7847E1D"
--Apple-Mail=_541B88BE-BBE6-458B-9608-D33BF7847E1D
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""></body></html>
--Apple-Mail=_541B88BE-BBE6-458B-9608-D33BF7847E1D
Content-Disposition: inline;
filename="Vertra.pdf"
Content-Type: application/pdf;
name="Vertra.pdf"
Content-Transfer-Encoding: base64
JVBERi0xLjYNJeLjz9MNCjEzOTAgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgNDQ3NjMxL08gMTQw
T6WxtWcKf50KbeADs2GW2RJnNm0xXYLZPMo05zF2HPk9TAseV1opiGgh+irAAGeCiicNZW5kc3Ry
ZWFtDWVuZG9iag1zdGFydHhyZWYNNTIzMjk2DSUlRU9GDQ==
--Apple-Mail=_541B88BE-BBE6-458B-9608-D33BF7847E1D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px" class=3D""><font =
face=3D"Arial" size=3D"3" color=3D"#000000" style=3D"font: 12.0px Arial; =
color: #000000" class=3D""> </font></p> Guten Abend
<br class=3D""></div></div></body></html>=
--Apple-Mail=_541B88BE-BBE6-458B-9608-D33BF7847E1D--
--Apple-Mail=_4D830695-FAA7-4A39-A37A-BDE75370F390--
--8<---------------cut here---------------end--------------->8---
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problem when extracting MIME parts
2015-02-24 22:06 problem when extracting MIME parts Adrian Lanz
@ 2015-02-25 2:40 ` Katsumi Yamaoka
0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2015-02-25 2:40 UTC (permalink / raw)
To: Adrian Lanz; +Cc: ding
On Tue, 24 Feb 2015 23:06:39 +0100, Adrian Lanz wrote:
> In my configuration (Gnus v5.13), MIME part extraction does not work,
> currently, for a few mail messages (typically X-Mailer: Apple Mail) -
> everything as intended for most mail messages, though.
> What happens is the following: Upon C-o (gnus-mime-save-part-and-strip)
> the MIME part is saved (as expected), but the mail itself gets lost.
My fault (2014-06-05). I'm very sorry for losing your articles,
and thanks for a good example.
Html parts cause it (the start marker of a part is extended by
insertion of other parts at the beginning of the part). I've
fixed it in Gnus master and Emacs master.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-25 2:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-24 22:06 problem when extracting MIME parts Adrian Lanz
2015-02-25 2:40 ` Katsumi Yamaoka
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 NNTP newsgroup(s).