* wl-mime.el (wl-draft-preview-message): Revive the position
authoryoichi <yoichi>
Fri, 13 Sep 2002 10:39:43 +0000 (10:39 +0000)
committeryoichi <yoichi>
Fri, 13 Sep 2002 10:39:43 +0000 (10:39 +0000)
 before evaluating wl-draft-send-hook in preview buffer.

BUGS
BUGS.ja
wl/ChangeLog
wl/wl-mime.el

diff --git a/BUGS b/BUGS
index 73e182c..811494c 100644 (file)
--- a/BUGS
+++ b/BUGS
@@ -1,4 +1,2 @@
 * Cannot communicate with UW imapd with qmail patch.
 * Biff of the POP3 folders do not work correctly (c.f. [wl: 08937]).
-* part-top etc in wl-draft-config-alist does not work correctly
-  with wl-draft-preview-message
diff --git a/BUGS.ja b/BUGS.ja
index 3f00e5e..a5c5129 100644 (file)
--- a/BUGS.ja
+++ b/BUGS.ja
@@ -1,4 +1,2 @@
 * qmail \e$BBP1~$N\e(B UW imapd \e$B$N%a%C%;!<%8$r07$($J$$!#\e(B
 * POP3 \e$B%U%)%k%@$N\e(B biff \e$B$,$&$^$/F0$+$J$$\e(B (c.f. [wl: 08937])\e$B!#\e(B
-* wl-draft-preview-message \e$B$N$H$-$K!"\e(B wl-draft-config-alist \e$B$N\e(B
-  part-top \e$BEy$,8m$C$?F0:n$r$9$k!#\e(B
index d6370da..c199dd2 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-13  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
+
+       * wl-mime.el (wl-draft-preview-message): Revive the position
+       before evaluating wl-draft-send-hook in preview buffer.
+
 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        * wl-addrmgr.el (wl-addrmgr-apply-exec): Call wl-draft interactively
index 1847b6f..385329f 100644 (file)
@@ -72,6 +72,7 @@ By setting following-method as yank-content."
   "Preview editing message."
   (interactive)
   (let* (recipients-message
+        (current-point (point))
         (config-exec-flag wl-draft-config-exec-flag)
         (parent-folder wl-draft-parent-folder)
         (mime-display-header-hook 'wl-highlight-headers)
@@ -89,6 +90,7 @@ By setting following-method as yank-content."
             (lambda ()
               (let ((wl-draft-config-exec-flag config-exec-flag)
                     (wl-draft-parent-folder parent-folder))
+                (goto-char current-point)
                 (run-hooks 'wl-draft-send-hook)
                 (setq recipients-message
                       (condition-case err