+2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * wl-vars.el (wl-summary-mode-line-format-spec-alist): Follow the
+ change of return value of elmo-folder-count-flags.
+
+ * wl-summary.el (wl-summary-prefetch-msg): Ditto.
+ (wl-summary-mark-as-read-internal): Ditto.
+ (wl-summary-set-persistent-mark-internal): Ditto.
+ (wl-summary-folder-info-update): Ditto.
+ (wl-summary-sync-update): Fixed the last change.
+
+ * wl-score.el (wl-summary-score-update-all-lines): Ditto.
+
2004-09-01 Yuuichi Teranishi <teranisi@gohome.org>
* wl-vars.el (wl-draft-kill-pre-hook): New hook.
0
(let ((flag-count
(wl-summary-count-unread)))
- (+
- (or (cdr (assq 'new flag-count))
- 0)
- (or (cdr (assq 'unread flag-count))
- 0)))
+ (or (cdr (assq 'unread flag-count))
+ 0))
(elmo-folder-length
wl-summary-buffer-elmo-folder)))
(wl-summary-update-modeline))
(wl-summary-update-modeline)
(wl-folder-update-unread
(wl-summary-buffer-folder-name)
- (+ wl-summary-buffer-unread-count
- wl-summary-buffer-new-count))))
+ wl-summary-buffer-unread-count)))
t)
nil)))))
(wl-folder-set-folder-updated
(elmo-folder-name-internal folder)
(list 0
- (let ((flag-count (wl-summary-count-unread)))
- (+
- (or (cdr (assq 'new flag-count))
- 0)
- (or (cdr (assq 'unread flag-count))
- 0)))
+ (or (cdr (assq 'unread (wl-summary-count-unread))) 0)
(elmo-folder-length folder)))
(wl-summary-update-modeline)
;;
(wl-summary-update-modeline)
(wl-folder-update-unread
(wl-summary-buffer-folder-name)
- (+ wl-summary-buffer-unread-count
- wl-summary-buffer-new-count)))))))
+ wl-summary-buffer-unread-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-new-count)))))))
+ wl-summary-buffer-unread-count))))))
(defun wl-summary-unset-persistent-mark (&optional flag
number-or-numbers
(wl-folder-set-folder-updated
(elmo-string (wl-summary-buffer-folder-name))
(list 0
- (+ wl-summary-buffer-unread-count
- wl-summary-buffer-new-count)
+ wl-summary-buffer-unread-count
(elmo-folder-length
wl-summary-buffer-elmo-folder))))
(elmo-folder-name-internal wl-summary-buffer-elmo-folder)))
(?t (if (eq wl-summary-buffer-view 'thread) "T" "S"))
(?n wl-summary-buffer-new-count)
- (?u (+ wl-summary-buffer-new-count
- wl-summary-buffer-unread-count))
+ (?u wl-summary-buffer-unread-count)
(?a (length wl-summary-buffer-number-list)))
"An alist of format specifications that can appear in summary mode-lines.
Each element is a list of following: