From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56497 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug in deleting attachments Date: Tue, 02 Mar 2004 21:11:17 +0100 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=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1078258877 9059 80.91.224.253 (2 Mar 2004 20:21:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2004 20:21:17 +0000 (UTC) Original-X-From: ding-owner+M5038@lists.math.uh.edu Tue Mar 02 21:21:08 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AyGO4-0000bd-00 for ; Tue, 02 Mar 2004 21:21:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AyGNp-000553-00; Tue, 02 Mar 2004 14:20:53 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AyGNl-00054y-00 for ding@lists.math.uh.edu; Tue, 02 Mar 2004 14:20:49 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 022133A020D for ; Tue, 2 Mar 2004 14:20:48 -0600 (CST) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AyGNj-0004Ec-00 for ; Tue, 02 Mar 2004 21:20:47 +0100 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 ; Tue Mar 2 20:20:47 2004 Original-Received: from reiner.steib by lumberjack.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue Mar 2 20:20:47 2004 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 52 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lumberjack.physik.uni-ulm.de X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB;kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od today I tried to delete an attachment and always got the annoying error > message: `This function is not implemented' (btw I find it misleading > because the function is indeed implemented). > > I searched for the reason and found in `gnus-mime-delete-part' the > following code: > > (if (mm-multiple-handles gnus-article-mime-handles) > (error "This function is not implemented")) [...] > I changed the definition of `mm-multiple-handles' so that nil was > returned and the function `gnus-mime-delete-part' ran without problem. > > I'm not sure at the moment what the exact reason of the bug is (I don't > know what `mm-multiple-handles' is exactly testing). Can anyone shed > some light on that? First, I have to admit that the code of `gnus-mime-delete-part' is more or less copied from `gnus-mime-save-part-and-strip' (see the FIXME). In `gnus-mime-save-part-and-strip' ShengHuo added this check deliberately: ,----[ ] | From: ShengHuo ZHU | Subject: Re: remove attachments | Newsgroups: gnu.emacs.gnus | Date: Thu, 14 Feb 2002 13:27:42 -0500 | Message-ID: <2n664zyl41.fsf@zsh.cs.rochester.edu> |=20 | Reiner Steib <4uce.02.r.steib@gmx.net> writes: | [...] | > Is it possible to strip a part that's inside a forwarded messsage | > (Content-Type: message/rfc822)? I'd like to strip the | > `application/msword' part from the following message (I get | > `gnus-mime-save-part-and-strip: This function is not implemented'): |=20 | I disabled this feature on messages with complicated MIME structures | because of some difficulties, such as locating the part, PGP or S/MIME | stuff, etc. Anyway, you can always edit the message manually if the | back end supports it. `---- But maybe we can change the error into a query like "Deleting parts in complicated MIME structures might not work. Are you sure?"? Bye, Reiner. --=20 ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/