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

wl/ChangeLog
wl/wl-summary.el

index abdfcdc..fb5a603 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-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * wl-folder.el (wl-folder-prefetch-entity): Use
index bc9b0f5..e8bdfed 100644 (file)
@@ -4879,16 +4879,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)
   ""