Subject: bug#13762: Problem with multipart messages since upgrading to Emacs24

From: [email-masked] (Jarno Saarimäki)
Date: Tue, 19 Feb 2013 11:06:31 +0200

Hello,

After I upgraded my Emacs from version 23 to 24, I started getting
errors with multipart messages (html mails and attachments). Below is an
example backtrace. 

Debugger entered--Lisp error: (wrong-type-argument bufferp #("multipart/mixed" 0 15 (boundary "=-=-=" buffer #<buffer  *mm*<169>> from "[email-masked]" start nil)))
  buffer-name(#("multipart/mixed" 0 15 (boundary "=-=-=" buffer #<buffer  *mm*<169>> from "[email-masked]" start nil)))
  mm-get-part((#("multipart/mixed" 0 15 (boundary "=-=-=" buffer #<buffer  *mm*<169>> from "[email-masked]" start nil)) (#<buffer  *mm*<170>> ("text/plain") nil nil nil nil nil nil) (#<buffer  *mm*<171>> ("text/plain") nil nil ("inline" (filename . "test.txt")) "test" nil nil)))
  mm-inline-render-with-function((#("multipart/mixed" 0 15 (boundary "=-=-=" buffer #<buffer  *mm*<169>> from "[email-masked]" start nil)) (#<buffer  *mm*<170>> ("text/plain") nil nil nil nil nil nil) (#<buffer  *mm*<171>> ("text/plain") nil nil ("inline" (filename . "test.txt")) "test" nil nil)) html2text)
  apply(mm-inline-render-with-function (#("multipart/mixed" 0 15 (boundary "=-=-=" buffer #<buffer  *mm*<169>> from "[email-masked]" start nil)) (#<buffer  *mm*<170>> ("text/plain") nil nil nil nil nil nil) (#<buffer  *mm*<171>> ("text/plain") nil nil ("inline" (filename . "test.txt")) "test" nil nil)) html2text)
  mm-inline-text-html((#("multipart/mixed" 0 15 (boundary "=-=-=" buffer #<buffer  *mm*<169>> from "[email-masked]" start nil)) (#<buffer  *mm*<170>> ("text/plain") nil nil nil nil nil nil) (#<buffer  *mm*<171>> ("text/plain") nil nil ("inline" (filename . "test")) "test" nil nil)))
  article-wash-html()
  apply(article-wash-html nil)
  (if interactive (call-interactively (quote article-wash-html)) (apply (quote article-wash-html) args))
  (save-current-buffer (set-buffer gnus-article-buffer) (if interactive (call-interactively (quote article-wash-html)) (apply (quote article-wash-html) args)))
  (with-current-buffer gnus-article-buffer (if interactive (call-interactively (quote article-wash-html)) (apply (quote article-wash-html) args)))
  gnus-article-wash-html()
  run-hooks(gnus-article-prepare-hook)
  apply(run-hooks gnus-article-prepare-hook)
  gnus-run-hooks(gnus-article-prepare-hook)
  gnus-article-prepare(372 nil)
  gnus-summary-display-article(372 nil)
  gnus-summary-select-article(nil force)
  gnus-summary-show-article(nil)
  call-interactively(gnus-summary-show-article nil nil)

Gnus v5.13
GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12)
 of 2012-09-22 on batsu, modified by Debian
200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok)
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.5.1
AUTHINFO USER
HDR
LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
OVER
POST
READER
STARTTLS
.
382 Begin TLS negotiation now
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.5.1
AUTHINFO USER
HDR
LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
OVER
POST
READER
.