+2004-06-22 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * wl-summary.el (wl-summary-delete-all-target-marks): New function
+ to delete target marks only.
+ (wl-summary-target-mark-forward): Use it.
+ (wl-summary-target-mark-reply-with-citation): Ditto.
+ (wl-summary-target-mark-uudecode): Ditto.
+ (wl-summary-target-mark-set-flags): Ditto and remove needless
+ cursor move.
+
2004-06-21 Yoichi NAKAYAMA <yoichi@geiin.org>
* wl-summary.el (wl-summary-target-mark-forward): Protect
'update nil nil t)
(run-hooks 'wl-summary-virtual-hook)))
+(defun wl-summary-delete-all-target-marks ()
+ (let (wl-summary-buffer-temp-mark-list)
+ (wl-summary-delete-all-temp-marks)))
+
(defun wl-summary-delete-all-temp-marks (&optional no-msg force)
"Erase all temp marks from buffer."
(interactive)
(defun wl-summary-target-mark-set-flags ()
(interactive)
(save-excursion
- (goto-char (point-min))
(let ((inhibit-read-only t)
(buffer-read-only nil)
wl-summary-buffer-disp-msg
flags)
(dolist (number wl-summary-buffer-target-mark-list)
- (wl-summary-unset-mark number)
(setq flags (wl-summary-set-flags-internal number flags)))
+ (wl-summary-delete-all-target-marks)
(wl-summary-count-unread)
(wl-summary-update-modeline))))
(goto-char start-point)
(save-excursion
(set-buffer summary-buf)
- (wl-summary-delete-all-temp-marks)))
+ (wl-summary-delete-all-target-marks)))
(run-hooks 'wl-mail-setup-hook)))
(defun wl-summary-target-mark-reply-with-citation (&optional arg)
(goto-char start-point)
(save-excursion
(set-buffer summary-buf)
- (wl-summary-delete-all-temp-marks)))
+ (wl-summary-delete-all-target-marks)))
(wl-draft-reply-position wl-draft-reply-default-position)
(run-hooks 'wl-mail-setup-hook))))
filename nil 'no-msg))))
(save-excursion
(set-buffer summary-buf)
- (wl-summary-delete-all-temp-marks))
+ (wl-summary-delete-all-target-marks))
(if (file-exists-p filename)
(message "Saved as %s" filename)))
(kill-buffer tmp-buf)))))