2012年6月27日

Re: Problems with draft/sent folders

Hi,

> Now I see that I sometimes have "Fcc:" correctly filled in the header,
> (which makes testing much easier). If I start writing a draft from the
> Folder-buffer (pressing "w") I have to re-select the template by
> cycling through them with C-c C-j for the "Fcc:" to show up. I was
> expecting C-c C-e to have the same effect, but no, it doesn't set
> "Fcc".


Try below code. When writing a draft from Folder buffer by "w",
wl-draft-parent-folder is not set.

(eval-after-load "wl-folder"
'(progn
(defun wl-folder-write (folder)
"Write a new draft from Folder."
(interactive (list (wl-folder-get-entity-from-buffer)))
(wl-draft (list (cons 'To "")) nil nil nil nil folder)
(run-hooks 'wl-mail-setup-hook)
(mail-position-on-field "To"))
(define-key wl-folder-mode-map "w" 'wl-folder-write)))

--
Kazuhiro Ito


投稿者 xml-rpc : 2012年6月27日 02:14
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/110389
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。