From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: p0.41 MIME error
Date: 08 Nov 1998 02:41:07 -0500 [thread overview]
Message-ID: <2nzpa2k4x8.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: Karl Kleinpaste's message of "07 Nov 1998 22:05:51 -500"
>>>>> "KK" == Karl Kleinpaste <karl@jprc.com> writes:
KK> This stack trace...
KK> Signaling: (error "format specifier %d doesn't match argument type")
KK> format("%d. " nil)
KK> gnus-mime-display-alternative(((#<buffer " *mm*<3>"> ("text/plain" ...) 7bit nil nil nil) (#<buffer " *mm*<4>"> ("text/html" ...) 7bit nil nil nil)))
KK> gnus-display-mime()
KK> gnus-article-prepare-display()
KK> gnus-article-prepare(15456 nil)
KK> gnus-summary-display-article(15456 nil)
KK> gnus-summary-select-article(nil force)
KK> gnus-summary-show-article(nil)
KK> call-interactively(gnus-summary-show-article)
KK> ...occurs with this article containing MIME multipart/alternative...
A patch is attached.
--
Shenghuo
:- cut ---
--- ChangeLog 1998/11/08 07:36:02 1.3
+++ ChangeLog 1998/11/08 07:36:56
@@ -1,3 +1,7 @@
+Sun Nov 8 02:36:33 1998 Shenghuo ZHU <zsh@cs.rochester.edu>
+
+ * gnus-art.el (gnus-display-mime): Add id for alternative part.
+
Sun Nov 8 00:45:13 1998 Shenghuo ZHU <zsh@cs.rochester.edu>
* gnus-agent.el (gnus-agent-fetch-articles): Use with-temp-buffer.
--- gnus-art.el 1998/11/08 07:22:20 1.1
+++ gnus-art.el 1998/11/08 07:38:13
@@ -2394,7 +2394,9 @@
(delete-region (point) (point-max)))
(if (stringp (car handles))
(if (equal (car handles) "multipart/alternative")
- (gnus-mime-display-alternative (cdr handles))
+ (let ((id (1+ (length gnus-article-mime-handle-alist))))
+ (push (cons id handles) gnus-article-mime-handle-alist)
+ (gnus-mime-display-alternative (cdr handles) nil nil id))
(gnus-mime-display-mixed (cdr handles)))
(gnus-mime-display-single handles)))))
prev parent reply other threads:[~1998-11-08 7:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-08 3:05 Karl Kleinpaste
1998-11-08 7:41 ` Shenghuo ZHU [this message]
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=2nzpa2k4x8.fsf@zsh.cs.rochester.edu \
--to=zsh@cs.rochester.edu \
/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).