From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75729 Path: news.gmane.org!not-for-mail From: Michael Piotrowski Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem displaying multipart/alternative messages Date: Thu, 20 Jan 2011 15:21:29 +0100 Organization: dynalabs Network Research Unit Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295533387 8807 80.91.229.12 (20 Jan 2011 14:23:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2011 14:23:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24080@lists.math.uh.edu Thu Jan 20 15:23:03 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PfvPj-00043x-Gk for ding-account@gmane.org; Thu, 20 Jan 2011 15:23:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PfvOh-0003qf-TO; Thu, 20 Jan 2011 08:21:59 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PfvOg-0003qW-Mf for ding@lists.math.uh.edu; Thu, 20 Jan 2011 08:21:58 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PfvOe-000645-4s for ding@lists.math.uh.edu; Thu, 20 Jan 2011 08:21:57 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PfvOc-0002jK-0K for ding@gnus.org; Thu, 20 Jan 2011 15:21:54 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PfvOa-0003Hq-Um for ding@gnus.org; Thu, 20 Jan 2011 15:21:52 +0100 Original-Received: from 130.60.156.196 ([130.60.156.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2011 15:21:51 +0100 Original-Received: from mxp by 130.60.156.196 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2011 15:21:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 130.60.156.196 User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.22 (berkeley-unix) X-Face: %OvAx]kKl`N,i?yQ+$^p9w2oy)Yg|O}a_~6wtRQ@UTZ*(jSPubbonT]m++M>YBtJqkZZa!W"y5`aI.FoKO%$JHz=ws|i?y^o2bds(+pcp>gcX]H}?-tCzL^ABzJUWYzS{"!_hFg:JD)`kxRKLsNp X-Operating-System: NetBSD Content-Language: en Cancel-Lock: sha1:abbw+AwHhb8c/IiuZnEQigBNfsc= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75729 Archived-At: On 2011-01-13, Michael Piotrowski 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(((#"> ("text/plain" ... ... ...) quoted-printable nil nil nil nil nil) ("multipart/related" (#"> ... quoted-printable nil nil nil nil nil) (#"> ... 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. Public key at (ID 0x1614A044)