From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58796 Path: main.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Improved gnus-mime-save-part-and-strip to v5-10 Date: Sun, 10 Oct 2004 19:25:57 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Sender: ding-owner@lists.math.uh.edu Message-ID: 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 1097429341 4341 80.91.229.6 (10 Oct 2004 17:29:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Oct 2004 17:29:01 +0000 (UTC) Original-X-From: ding-owner+M7333@lists.math.uh.edu Sun Oct 10 19:28:45 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 1CGhUz-000650-00 for ; Sun, 10 Oct 2004 19:28:45 +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 1CGhSh-0005fF-00; Sun, 10 Oct 2004 12:26:23 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CGhSY-0005f7-00 for ding@lists.math.uh.edu; Sun, 10 Oct 2004 12:26:14 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CGhSU-0005bx-Vo for ding@lists.math.uh.edu; Sun, 10 Oct 2004 12:26:11 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id A30DA3A0059 for ; Sun, 10 Oct 2004 12:26:08 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CGhSP-0007Og-00 for ; Sun, 10 Oct 2004 19:26:05 +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 ; Sun, 10 Oct 2004 19:26:05 +0200 Original-Received: from Reiner.Steib by lumberjack.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Oct 2004 19:26:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lumberjack.physik.uni-ulm.de X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ Mail-Copies-To: nobody User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:e8TG0INeb57yARmQsGlRx93yDE4= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58796 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58796 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((#> ("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 * 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 * 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/