From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58805 Path: main.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Improved gnus-mime-save-part-and-strip to v5-10 Date: Mon, 11 Oct 2004 12:48:05 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097491724 17088 80.91.229.6 (11 Oct 2004 10:48:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2004 10:48:44 +0000 (UTC) Original-X-From: ding-owner+M7341@lists.math.uh.edu Mon Oct 11 12:48:34 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CGxjF-0001je-00 for ; Mon, 11 Oct 2004 12:48:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CGxj2-0007pm-00; Mon, 11 Oct 2004 05:48:20 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CGxiy-0007ph-00 for ding@lists.math.uh.edu; Mon, 11 Oct 2004 05:48:16 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CGxiw-0005fH-LN for ding@lists.math.uh.edu; Mon, 11 Oct 2004 05:48:14 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id 1C80B3A01FE for ; Mon, 11 Oct 2004 05:48:14 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CGxiv-0000AF-00 for ; Mon, 11 Oct 2004 12:48:13 +0200 Original-Received: from lumberjack.physik.uni-ulm.de ([134.60.10.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Oct 2004 12:48:13 +0200 Original-Received: from Reiner.Steib by lumberjack.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Oct 2004 12:48:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 62 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lumberjack.physik.uni-ulm.de X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:lC44XdEgQnxgCPicxgb1RqD140o= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58805 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58805 On Mon, Oct 11 2004, Katsumi Yamaoka wrote: >>>>>> Reiner Steib 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((#> ("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((#> ("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/