Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Piotrowski <mxp@dynalabs.de>
To: ding@gnus.org
Subject: Re: Problem displaying multipart/alternative messages
Date: Thu, 20 Jan 2011 15:21:29 +0100	[thread overview]
Message-ID: <x61v47k652.fsf@dynalabs.de> (raw)
In-Reply-To: <x6sjwxytiw.fsf@dynalabs.de>

On 2011-01-13, Michael Piotrowski <mxp@dynalabs.de> wrote:

> Using the current git version of Gnus on XEmacs 21.4.22, I'm now getting
> the error "Selecting deleted or non-existent buffer" when trying to view
> a multipart/alternative message (as produced by, e.g., Apple Mail or
> Microsoft Outlook):
>
> Debugger entered--Lisp error: (error "Selecting deleted or non-existent buffer")
>   mm-preferred-alternative-precedence(((#<buffer " *mm*<2>"> ("text/plain" ... ... ...) quoted-printable nil nil nil nil nil) ("multipart/related" (#<buffer " *mm*<4>"> ... quoted-printable nil nil nil nil nil) (#<buffer " *mm*<5>"> ... base64 nil ... nil nil "<169B2FFF-3C89-4C5A-BFAF-D4BF383302CD@local>"))))

[...]

> Any ideas?

The problem is the code after the comment "Remove empty parts" in
`mm-preferred-alternative-precedence'.  If I remove this code, it works
as before.

The messages I'm referring to in my original post are of type
"multipart/alternative", containing a "text/plain" and a
"multipart/mixed" part.  The latter part typicalle consists of a
"text/html" part and one or more attachments, e.g., "application/pdf".
When displaying such a message,

  (mm-handle-buffer handle)

returns the string "multipart/mixed" instead of a buffer, and
`with-current-buffer' then raises the error above.

Does really nobody else encounter this problem?

Best regards

-- 
Dr.-Ing. Michael Piotrowski, M.A.                   <mxp@dynalabs.de>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt> (ID 0x1614A044)




  reply	other threads:[~2011-01-20 14:21 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 10:42 Michael Piotrowski
2011-01-20 14:21 ` Michael Piotrowski [this message]
2011-01-20 17:55   ` Julien Danjou
2011-01-20 20:56     ` quoting Emacs Lisp (was: Problem displaying multipart/alternative messages) Ted Zlatanov
2011-01-20 21:05       ` quoting Emacs Lisp Julien Danjou
2011-01-20 21:17         ` Ted Zlatanov
2011-01-20 21:31           ` Julien Danjou
2011-01-20 21:36             ` Julien Danjou
2011-01-24  1:00             ` Lars Ingebrigtsen
2011-01-24 10:29               ` Julien Danjou
2011-01-24 17:51                 ` Ted Zlatanov
2011-01-24 21:47                   ` Lars Ingebrigtsen
2011-01-24 22:09                     ` Ted Zlatanov
2011-01-24 22:26                       ` Daniel Pfeiffer
2011-01-25 10:18                   ` Julien Danjou
2011-01-22  4:50         ` Lars Ingebrigtsen
2011-01-24  1:06     ` Problem displaying multipart/alternative messages Lars Ingebrigtsen
2011-01-22  4:48   ` Lars Ingebrigtsen
2011-01-22  8:06     ` Julien Danjou
2011-01-22 19:50       ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x61v47k652.fsf@dynalabs.de \
    --to=mxp@dynalabs.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).