Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Improved gnus-mime-save-part-and-strip to v5-10
Date: Sun, 10 Oct 2004 19:25:57 +0200	[thread overview]
Message-ID: <v93c0mpjru.fsf@marauder.physik.uni-ulm.de> (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/




             reply	other threads:[~2004-10-10 17:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-10 17:25 Reiner Steib [this message]
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

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=v93c0mpjru.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).