From: Stephen Eglen <sje30@damtp.cam.ac.uk>
To: ding@gnus.org, mh-e-devel@lists.sourceforge.net,
Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: Re: small change suggested for mh-mm-save-part
Date: Wed, 12 Nov 2008 11:55:23 +0000 [thread overview]
Message-ID: <24116.1226490923@maps> (raw)
In-Reply-To: <878wrrdvq9.fsf@marauder.physik.uni-ulm.de>
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=/
prev parent reply other threads:[~2008-11-12 11:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <338.1225540156@cpc1-cmbg2-0-0-cust309.cmbg.cable.ntl.com>
[not found] ` <1228.1225565342@olgas.newt.com>
[not found] ` <17907.1226075080@maps>
2008-11-10 23:09 ` Reiner Steib
2008-11-12 11:55 ` Stephen Eglen [this message]
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=24116.1226490923@maps \
--to=sje30@damtp.cam.ac.uk \
--cc=S.J.Eglen@damtp.cam.ac.uk \
--cc=ding@gnus.org \
--cc=mh-e-devel@lists.sourceforge.net \
/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).