+2001-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
+
+ * wl-draft.el (wl-draft): Added 14th argument `parent-folder'.
+
+ * wl-summary.el (wl-summary-write): Call wl-draft with 14th argument.
+ (wl-summary-write-current-folder): Ditto.
+
2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
* wl-folder.el (wl-folder-get-newsgroups): Use
(defvar wl-draft-reedit nil)
(defvar wl-draft-reply-buffer nil)
(defvar wl-draft-forward nil)
+(defvar wl-draft-parent-folder nil)
(defvar wl-draft-config-sub-func-alist
'((body . wl-draft-config-sub-body)
(make-variable-buffer-local 'wl-sent-message-via)
(make-variable-buffer-local 'wl-draft-fcc-list)
(make-variable-buffer-local 'wl-draft-reply-buffer)
+(make-variable-buffer-local 'wl-draft-parent-folder)
(defmacro wl-smtp-extension-bind (&rest body)
(` (let* ((smtp-sasl-mechanisms
(defun wl-draft (&optional to subject in-reply-to cc references newsgroups
mail-followup-to
content-type content-transfer-encoding
- body edit-again summary-buf from)
+ body edit-again summary-buf from parent-folder)
"Write and send mail/news message with Wanderlust."
(interactive)
(unless (featurep 'wl)
(setq truncate-partial-width-windows nil)
(setq truncate-lines wl-draft-truncate-lines)
(setq wl-sent-message-via nil)
+ (setq wl-draft-parent-folder parent-folder)
(if (stringp (or from wl-from))
(insert "From: " (or from wl-from) "\n"))
(and (or (interactive-p)
"Write a new draft from Summary."
(interactive)
(wl-draft nil nil nil nil nil
- nil nil nil nil nil nil (current-buffer))
+ nil nil nil nil nil nil (current-buffer)
+ nil (wl-summary-buffer-folder-name))
(run-hooks 'wl-mail-setup-hook)
(mail-position-on-field "To"))
(error "Can't guess by folder %s" folder))
(wl-draft (nth 0 guess-list) nil nil ; To:
(nth 1 guess-list) nil ; Cc:
- (nth 2 guess-list)) ; Newsgroups:
+ (nth 2 guess-list) ; Newsgroups:
+ nil nil nil nil nil nil nil
+ folder)
(run-hooks 'wl-mail-setup-hook)
(mail-position-on-field "Subject"))))