From 1f17ca3778008a59589a183a9440329055089d01 Mon Sep 17 00:00:00 2001 From: teranisi Date: Tue, 13 Feb 2001 21:57:58 +0000 Subject: [PATCH] * wl-summary.el (wl-cache-prefetch-message): Call `elmo-buffer-cache-message' with `unread' argument. * elmo2.el (elmo-buffer-cache-message): Added argument `unread'. --- elmo/ChangeLog | 4 ++++ elmo/elmo2.el | 5 +++-- wl/ChangeLog | 5 +++++ wl/wl-summary.el | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index cc6441d..a853a0c 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,7 @@ +2001-02-14 Yuuichi Teranishi + + * elmo2.el (elmo-buffer-cache-message): Added argument `unread'. + 2001-02-13 OKAZAKI Tetsurou * elmo-imap4.el (elmo-imap4-prefetch-msg): Set `msgdb' diff --git a/elmo/elmo2.el b/elmo/elmo2.el index 39b951a..85dd154 100644 --- a/elmo/elmo2.el +++ b/elmo/elmo2.el @@ -734,7 +734,7 @@ message list in msgdb. Otherwise, number-list is load from msgdb." (setq mark-alist (cdr mark-alist))) (nreverse ret-val))) -(defun elmo-buffer-cache-message (fld msg &optional msgdb force-reload) +(defun elmo-buffer-cache-message (fld msg &optional msgdb force-reload unread) (let* ((msg-id (cdr (assq msg (elmo-msgdb-get-number-alist msgdb)))) (hit (elmo-buffer-cache-hit (list fld msg msg-id))) (read nil)) @@ -749,7 +749,8 @@ message list in msgdb. Otherwise, number-list is load from msgdb." (set-buffer hit) (elmo-read-msg fld msg (current-buffer) - msgdb force-reload 'unread)) + msgdb force-reload + unread)) (quit (elmo-buffer-cache-delete) (error "read message %s/%s is quitted" fld msg)) diff --git a/wl/ChangeLog b/wl/ChangeLog index fb33a16..799ccc5 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,8 @@ +2001-02-14 Yuuichi Teranishi + + * wl-summary.el (wl-cache-prefetch-message): + Call `elmo-buffer-cache-message' with `unread' argument. + 2001-02-07 Yuuichi Teranishi * wl-draft.el (wl-draft-parse-msg-id-list-string): Fix. diff --git a/wl/wl-summary.el b/wl/wl-summary.el index 9e31097..7fd9cab 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -6020,7 +6020,7 @@ Use function list is `wl-summary-write-current-folder-functions'." folder next))))) (if wl-cache-prefetch-debug (message "Reading %d..." msg)) - (elmo-buffer-cache-message folder next msgdb) + (elmo-buffer-cache-message folder next msgdb 'unread) (if wl-cache-prefetch-debug (message "Reading %d... done" msg)))))))))) -- 1.7.10.4