+2001-04-19 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-vars.el (wl-folder-mime-charset-alist): Setup default value for
+ @sponichi.
+
+ * wl-draft.el (wl-draft-insert-current-message): Fixed problem
+ when `mail-reply-buffer' is buffer-local variable.
+ (Reported by <kita@coe.nttdata.co.jp>).
+
2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
* wl-vars.el (toplevel): Require 'elmo-util.
(defun wl-draft-insert-current-message (dummy)
(interactive)
- (let (mail-reply-buffer
+ (let (original-buffer
+ mail-reply-buffer
mail-citation-hook mail-yank-hooks
wl-draft-add-references wl-draft-cite-function)
(with-current-buffer wl-draft-buffer-cur-summary-buffer
(with-current-buffer wl-message-buffer
- (setq mail-reply-buffer (wl-message-get-original-buffer))))
- (if (zerop
- (with-current-buffer mail-reply-buffer
- (buffer-size)))
- (error "No current message")
- (wl-draft-yank-from-mail-reply-buffer
- nil
- wl-ignored-forwarded-headers))))
+ (setq original-buffer (wl-message-get-original-buffer))
+ (if (zerop
+ (with-current-buffer original-buffer
+ (buffer-size)))
+ (error "No current message"))))
+ (setq mail-reply-buffer original-buffer)
+ (wl-draft-yank-from-mail-reply-buffer
+ nil
+ wl-ignored-forwarded-headers)))
(defun wl-draft-insert-get-message (dummy)
(let ((fld (completing-read
'(("^-alt\\.chinese" . big5)
("^-relcom\\." . koi8-r)
("^-tw\\." . big5)
- ("^-han\\." . euc-kr))
+ ("^-han\\." . euc-kr)
+ ("@sponichi" . shift_jis))
"Charset alist. If no match, `wl-mime-charset' is used."
:type '(repeat (cons (regexp :tag "Folder Regexp") (symbol :tag "Charset")))
:group 'wl-summary