Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Improved gnus-mime-save-part-and-strip to v5-10
Date: Mon, 11 Oct 2004 12:48:05 +0200	[thread overview]
Message-ID: <v9u0t1r0nu.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <yotl4ql23vl4.fsf@jpl.org>

On Mon, Oct 11 2004, Katsumi Yamaoka wrote:

>>>>>>	Reiner Steib <reinersteib+gmane@imap.cc> wrote:
>
>> | 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)
>
> Hm, you encountered another error, didn't you?

Maybe.  I simply started No Gnus and it worked fine.  

> It seems to be the case where mm-decode.elc has been compiled
> without loading mm-util.elc.

But adding (require 'mm-util) to `mm-decode.el' (and recompiling) in
v5-10 [1] doesn't fix the problem:

,----
| ELISP> (featurep 'mm-decode)
| t
| ELISP> (featurep 'mm-util)
| t
| ELISP> (fboundp 'mm-with-multibyte)
| t
`----

I still get a (the same?) backtrace:

,----
| Debugger entered--Lisp error: (invalid-function (macro . #[(&rest
|   forms) "[BYTE CODE]" [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("/tmp/ste/100_0385.JPG")
|   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)
`----

After loading the *.el (not *.elc) files (mm-decode.el, mm-util.el) it
worked.  (I had to hit `C-c C-c' to finish editing, which is no longer
needed in the trunk.)

Bye, Reiner.

[1] Well, it was not in v5-10 but in the Emacs files, but this
    shouldn't matter as there are no changes pending in this area.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2004-10-11 10:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-10 17:25 Reiner Steib
2004-10-11  1:13 ` Katsumi Yamaoka
2004-10-11 10:48   ` Reiner Steib [this message]
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=v9u0t1r0nu.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).