Gnus development mailing list
 help / color / mirror / Atom feed
* Improved gnus-mime-save-part-and-strip to v5-10
@ 2004-10-10 17:25 Reiner Steib
  2004-10-11  1:13 ` Katsumi Yamaoka
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2004-10-10 17:25 UTC (permalink / raw)


Hi,

I found that the version of `gnus-mime-save-part-and-strip' (`C-o') in
the trunk works much better that the one in the v5-10 branch.

Even for a simple MIME structure like...

,----[ C-d ]
| <* mixed> ...
| <1 text>
| <2 pjpeg> "100_0385.JPG"
| <3 pjpeg> "100_0386.JPG"
| [...]
`----

... I got:

,----
| Debugger entered--Lisp error: (invalid-function (macro . #[(&rest
|   forms) "[...]" [forms let ((default-enable-multibyte-characters t))]
|   3
|   ("/import/xtra/emacs/HEAD/share/emacs/21.3.50/lisp/gnus/mm-util.elc"
|   . 17775)])) 
|   mm-with-multibyte("~/some/directory/")
|   mm-save-part((#<buffer  *mm*<3>> ("image/pjpeg" (name .
|   "100_0385.JPG")) base64 nil ("attachment" (filename .
|   "100_0385.JPG")) nil nil nil))
|   gnus-mime-save-part-and-strip()
|   call-interactively(gnus-mime-save-part-and-strip)
`----

The I tried the trunk and it worked.  Is it save to install the
relevant changes in v5-10?  

Are these the only relevant changes?

--8<---------------cut here---------------start------------->8---
2004-03-09  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-art.el (gnus-article-edit-part): New function.
	(gnus-mime-save-part-and-strip): Use it; do query instead of
	signaling an error; don't use mm-multiple-handles.
	(gnus-mime-delete-part): Ditto.

[...]

2004-03-10  Katsumi Yamaoka  <yamaoka@jpl.org>

	* mm-decode.el (mm-complicated-handles): New function reviving
	former definition of mm-multiple-handles.

	* gnus-art.el (gnus-mime-save-part-and-strip): Use it.
	(gnus-mime-delete-part): Use it.
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-11 22:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-10 17:25 Improved gnus-mime-save-part-and-strip to v5-10 Reiner Steib
2004-10-11  1:13 ` Katsumi Yamaoka
2004-10-11 10:48   ` Reiner Steib
2004-10-11 12:55     ` Reiner Steib
2004-10-11 13:34       ` Katsumi Yamaoka
2004-10-11 14:58         ` Reiner Steib
2004-10-11 22: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).