[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remembering mime extract method?



At Thu, 01 Apr 2010 11:48:43 -0700, Erik Hetzner wrote:

> When I try to extract (`e`, mime-preview-extract-current-entity) a
> MIME attachment, e.g. a PDF, I am always presented with the option to
> use one of two methods: wl-mime-save-content or mime-save-content. I
> don’t really care which is used. How can I get WL/SEMI to not prompt
> me or remember my preference? Thanks.

Quick hack:

--- wl/wl-mime.el	4 Jan 2010 09:39:12 -0000	1.110
+++ wl/wl-mime.el	14 Apr 2010 07:15:27 -0000
@@ -925,11 +925,12 @@ With ARG, ask destination folder."
      (method . wl-mime-decrypt-application/pgp-encrypted)
      (major-mode . wl-original-message-mode)))
 
-  (ctree-set-calist-strictly
-   'mime-acting-condition
-   '((mode . "extract")
-     (major-mode . wl-original-message-mode)
-     (method . wl-mime-save-content)))
+  ;; (ctree-set-calist-strictly
+  ;;  'mime-acting-condition
+  ;;  '((mode . "extract")
+  ;;    (major-mode . wl-original-message-mode)
+  ;;    (method . wl-mime-save-content)))
+
   (set-alist 'mime-preview-following-method-alist
 	     'wl-original-message-mode
 	     (function wl-message-follow-current-entity))
 

-- 
wbr, Vitaly