* wl-summary.el (wl-summary-write-current-folder): Set cursor
authorkaoru <kaoru>
Tue, 1 May 2001 05:46:26 +0000 (05:46 +0000)
committerkaoru <kaoru>
Tue, 1 May 2001 05:46:26 +0000 (05:46 +0000)
position on Subject: field.
(Advised by Mito <mit@nines.nec.co.jp>)

wl/ChangeLog
wl/wl-summary.el

index d0d8726..e3c4056 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
+
+       * wl-summary.el (wl-summary-write-current-folder): Set cursor
+       position on Subject: field.
+       (Advised by Mito <mit@nines.nec.co.jp>)
+
 2001-04-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        * wl-e21.el (wl-biff-init-icons): Don't use `call-interactively' to
index 68ea945..e4c9dec 100644 (file)
@@ -5116,16 +5116,13 @@ Use function list is `wl-summary-write-current-folder-functions'."
                (nth 2 guess-list))     ; Newsgroups:
            (setq flist nil)
          (setq flist (cdr flist))))
-      (if guess-list
-         (progn
-           (wl-draft (nth 0 guess-list) ; To:
-                     nil nil
-                     (nth 1 guess-list) ; Cc:
-                     nil               
-                     (nth 2 guess-list)) ; Newsgroups:
-           (run-hooks 'wl-mail-setup-hook))
-;;;    (error "%s is not newsgroup" folder)
-       (error "Can't guess by folder %s" folder)))))
+      (when (null guess-list)
+       (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:
+      (run-hooks 'wl-mail-setup-hook)
+      (mail-position-on-field "Subject"))))
 
 (defun wl-summary-forward (&optional without-setup-hook)
   ""