Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Chen <quarl@hkn.eecs.berkeley.edu>
Subject: mm-decode.el bugfix patch for ido.el compatibility
Date: 14 Apr 2004 14:19:13 -0700	[thread overview]
Message-ID: <quack.20040414T1419.j5oepu8dgu@hkn.eecs.berkeley.edu> (raw)


Dear Gnus/mm-decode.el maintainers:

The patch below fixes an argument error in mm-save-part that
prevents it from working correctly when ido-mode (ido.el) is
enabled.


--- mm-decode.el	01 Sep 2003 08:45:24 -0700	1.14
+++ mm-decode.el	14 Apr 2004 14:14:19 -0700	
@@ -686,10 +686,12 @@
     (when filename
       (setq filename (file-name-nondirectory filename)))
     (setq file
-	  (read-file-name "Save MIME part to: "
-			  (expand-file-name
-			   (or filename name "")
-			   (or mm-default-directory default-directory))))
+          (expand-file-name
+           (read-file-name "Save MIME part to: "
+                           (or mm-default-directory default-directory)
+                           nil
+                           nil
+			   (or filename name))))
     (setq mm-default-directory (file-name-directory file))
     (when (or (not (file-exists-p file))
 	      (yes-or-no-p (format "File %s already exists; overwrite? "


-- 
Karl 2004-04-14 14:14



             reply	other threads:[~2004-04-14 21:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-14 21:19 Karl Chen [this message]
2004-04-14 23:11 ` Katsumi Yamaoka
2004-05-04 20:21   ` Karl Chen

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=quack.20040414T1419.j5oepu8dgu@hkn.eecs.berkeley.edu \
    --to=quarl@hkn.eecs.berkeley.edu \
    /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).