[mew-int 2899] Re: set default folder for mew attachments; detach multiple attachments

Kazu Yamamoto ( 山本和彦 ) kazu at example.com
Tue Aug 3 18:18:37 JST 2010


Hello,

> Hi All - I was wondering if people might know of a control setting
> to specify the default folder for saving attachments.  I am hoping
> perhaps there is a setq I can put in my .mew.el file?
> 
> At the moment the default folder is ~/ and I would like to change it.

Please apply following patch and you can set 'mew-save-dir'.

--Kazu

diff --git a/mew-minibuf.el b/mew-minibuf.el
index e469b41..4252542 100644
--- a/mew-minibuf.el
+++ b/mew-minibuf.el
@@ -820,11 +820,11 @@ it is deleted automatically."
 	file)
     (cond
      ((null default)
-      (setq file mew-home))
+      (setq file mew-save-dir))
      ((mew-folder-absolutep default)
       (setq file default))
      (t
-      (setq file (concat mew-home default))))
+      (setq file (concat mew-save-dir default))))
     (expand-file-name (read-file-name msg file file))))
 
 (defun mew-input-directory-name (&optional default)


More information about the Mew-int mailing list