+2003-11-19 Tetsurou Okazaki <okazaki@be.to>
+
+ * wl-summary.el (wl-summary-prefetch-msg): Undo the last change.
+ (wl-summary-mark-as-read-all): Ditto.
+ (wl-summary-delete-messages-on-buffer): Ditto.
+ (wl-summary-sync-update): Ditto.
+ (wl-summary-mark-as-read-internal): Ditto.
+ (wl-summary-mark-as-answered-internal): Ditto.
+ (wl-summary-update-folder-info): Abolished.
+
2003-11-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* wl-summary.el (wl-summary-mark-as-read-all): Use
(wl-summary-update-modeline)
(wl-folder-update-unread
(wl-summary-buffer-folder-name)
- wl-summary-buffer-unread-count)))
+ (+ wl-summary-buffer-unread-count
+ wl-summary-buffer-new-count))))
t)
nil)))))
(while (not (eobp))
(wl-summary-update-persistent-mark)
(forward-line 1)))
+ (wl-folder-update-unread (wl-summary-buffer-folder-name) 0)
(setq wl-summary-buffer-unread-count 0)
(setq wl-summary-buffer-new-count 0)
- (wl-summary-update-folder-info)
(wl-summary-update-modeline)
(message "Setting all msgs as read...done"))))
;;(message (concat deleting-info "done"))
(wl-summary-count-unread)
(wl-summary-update-modeline)
- (wl-summary-update-folder-info))))
+ (wl-summary-folder-info-update))))
(defun wl-summary-update-status-marks (beg end &optional check)
"Synchronize status marks on current buffer to the msgdb."
(format "%d crosspost message(s)" crossed)))
(and mes (setq mes (concat mes "."))))
;; Update Folder mode
- (wl-summary-count-unread)
+ (wl-folder-set-folder-updated
+ (elmo-folder-name-internal folder)
+ (list 0
+ (let ((lst (wl-summary-count-unread)))
+ (+ (car lst) (nth 1 lst)))
+ (elmo-folder-length folder)))
(wl-summary-update-modeline)
- (wl-summary-update-folder-info)
;;
(unless unset-cursor
(goto-char (point-min))
;; should elmo-folder-flag-as-read return unread numbers?
(wl-summary-count-unread)
(wl-summary-update-modeline)
- (wl-summary-update-folder-info))))))
+ (wl-folder-update-unread
+ (wl-summary-buffer-folder-name)
+ (+ wl-summary-buffer-unread-count
+ wl-summary-buffer-new-count)))))))
(defun wl-summary-mark-as-read (&optional number-or-numbers
no-folder-mark
(wl-summary-update-modeline)
(wl-folder-update-unread
(wl-summary-buffer-folder-name)
- wl-summary-buffer-unread-count))))))
+ (+ wl-summary-buffer-unread-count
+ wl-summary-buffer-new-count)))))))
(defun wl-summary-mark-as-answered (&optional number-or-numbers
no-modeline-update)
(wl-summary-print-message)
(wl-summary-unmark))))))
-(defun wl-summary-update-folder-info ()
- (wl-folder-set-folder-updated
- (elmo-string (wl-summary-buffer-folder-name))
- (list wl-summary-buffer-new-count
- wl-summary-buffer-unread-count
- (elmo-folder-length
- wl-summary-buffer-elmo-folder))))
-
(defun wl-summary-folder-info-update ()
(wl-folder-set-folder-updated
(elmo-string (wl-summary-buffer-folder-name))