From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67789 Path: news.gmane.org!not-for-mail From: Stephen Eglen Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: small change suggested for mh-mm-save-part Date: Wed, 12 Nov 2008 11:55:23 +0000 Message-ID: <24116.1226490923@maps> References: <338.1225540156@cpc1-cmbg2-0-0-cust309.cmbg.cable.ntl.com> <1228.1225565342@olgas.newt.com> <17907.1226075080@maps> <878wrrdvq9.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226490951 26031 80.91.229.12 (12 Nov 2008 11:55:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2008 11:55:51 +0000 (UTC) To: ding@gnus.org, mh-e-devel@lists.sourceforge.net, Stephen Eglen Original-X-From: mh-e-devel-bounces@lists.sourceforge.net Wed Nov 12 12:56:52 2008 Return-path: Envelope-to: gmmd-mh-e-devel@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by lo.gmane.org with esmtp (Exim 4.50) id 1L0EL3-0002W4-5S for gmmd-mh-e-devel@m.gmane.org; Wed, 12 Nov 2008 12:56:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by h25xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1L0EJs-0006MP-G8; Wed, 12 Nov 2008 11:55:36 +0000 Original-Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.122] helo=mx.sourceforge.net) by h25xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1L0EJr-0006MF-Jl for mh-e-devel@lists.sourceforge.net; Wed, 12 Nov 2008 11:55:35 +0000 Original-Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]) by 72vjzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1L0EJn-0005wW-58 for mh-e-devel@lists.sourceforge.net; Wed, 12 Nov 2008 11:55:35 +0000 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from lapc-br1-101.maths.private.cam.ac.uk ([172.16.218.101]:35255 helo=maps) by ppsw-6.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtp id 1L0EJk-0005ok-MK (Exim 4.70) (return-path ); Wed, 12 Nov 2008 11:55:28 +0000 Original-Received: from stephen (helo=maps) by maps with local-esmtp (Exim 4.69) (envelope-from ) id 1L0EJf-0006H0-8Q; Wed, 12 Nov 2008 11:55:23 +0000 In-reply-to: <878wrrdvq9.fsf@marauder.physik.uni-ulm.de> Comments: In-reply-to Reiner Steib message dated "Tue, 11 Nov 2008 00:09:18 +0100." X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 23.0.60 X-Spam-Score: -4.0 (----) X-Spam-Report: Spam detection software, running on the system "b92kzd1.ch3.sourceforge.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Dear Reiner, > Stephen, MH-E's copy `mh-mm-save-part' (`lisp/mh-e/mh-gnus.el') isn't > the same as the current version `mm-save-part' in > `lisp/gnus/mm-decode.el'. Could you please provide a patch ("diff -u" > preferred) against `lisp/gnus/mm-decode.el', please? [...] Content analysis details: (-4.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -4.0 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [131.111.8.136 listed in list.dnswl.org] X-Headers-End: 1L0EJn-0005wW-58 X-BeenThere: mh-e-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Forum for the MH-E developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: mh-e-devel-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.mail.mh-e.devel:13044 gmane.emacs.gnus.general:67789 Archived-At: Dear Reiner, > Stephen, MH-E's copy `mh-mm-save-part' (`lisp/mh-e/mh-gnus.el') isn't > the same as the current version `mm-save-part' in > `lisp/gnus/mm-decode.el'. Could you please provide a patch ("diff -u" > preferred) against `lisp/gnus/mm-decode.el', please? sure -- see below. I've not tested it within gnus though, as I don't use it now for reading email. Thanks, Stephen --- mm-decode.el~ 2008-11-12 11:51:11.000000000 +0000 +++ mm-decode.el 2008-11-12 11:54:35.000000000 +0000 @@ -1241,6 +1241,8 @@ (or mm-default-directory default-directory) nil nil (or filename ""))) (setq mm-default-directory (file-name-directory file)) + (when (and (file-directory-p file) filename) + (setq file (concat (file-name-as-directory file) filename))) (and (or (not (file-exists-p file)) (yes-or-no-p (format "File %s already exists; overwrite? " file))) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/