* wl-action.el (wl-summary-exec-action-resend-subr): Use file
cache if `wl-summary-resend-use-cache' is non-nil.
+2005-01-05 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * wl-vars.el (wl-summary-resend-use-cache): New variable.
+ * wl-action.el (wl-summary-exec-action-resend-subr): Use file
+ cache if `wl-summary-resend-use-cache' is non-nil.
+
2005-01-02 Yoichi NAKAYAMA <yoichi@geiin.org>
* wl-vars.el (wl-pop-before-smtp-stream-type): Fix range.
(insert
(with-temp-buffer
(elmo-message-fetch folder number
- (elmo-make-fetch-strategy 'entire)
+ (if wl-summary-resend-use-cache
+ (elmo-make-fetch-strategy
+ 'entire 'maybe nil
+ (elmo-file-cache-get-path
+ (elmo-message-field
+ folder number 'message-id)))
+ (elmo-make-fetch-strategy 'entire))
nil (current-buffer) 'unread)
(buffer-string)))
(goto-char (point-min))
:type 'string
:group 'wl-summary)
+(defcustom wl-summary-resend-use-cache nil
+ "*Non-nil to enable offline resending by using file cache.
+Note that strict message identity is not guaranteed when cache is used."
+ :type 'boolean
+ :group 'wl-summary)
+
(defcustom wl-folder-removed-mark "#<removed>"
"Mark for removed folder."
:type 'string