(elmo-message-encache-dop): Added argument `read'.
* elmo-shimbun.el (elmo-message-encache): Ditto.
* elmo-net.el (elmo-message-encache): Ditto.
2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
+ 'Create'.
+ (elmo-message-encache-dop): Added argument `read'.
+
+ * elmo-shimbun.el (elmo-message-encache): Ditto.
+
+ * elmo-net.el (elmo-message-encache): Ditto.
+
* elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
(elmo-imap4-fetch-callback-1-subr): Save important message numbers to
elmo-imap4-seen-messages.
(defvar elmo-dop-queue-method-name-alist
'((elmo-folder-append-buffer-dop-delayed . "Append")
(elmo-folder-delete-messages-dop-delayed . "Delete")
- (elmo-message-encache-dop . "Encache")
- (elmo-create-folder-dop . "Create")
+ (elmo-message-encache . "Encache")
+ (elmo-create-folder . "Create")
(elmo-folder-mark-as-read . "Read")
(elmo-folder-unmark-read . "Unread")
(elmo-folder-mark-as-important . "Important")
numbers)))
t)
-(defsubst elmo-message-encache-dop (folder number)
- (elmo-dop-queue-append folder 'elmo-message-encache (list number)))
+(defsubst elmo-message-encache-dop (folder number &optional read)
+ (elmo-dop-queue-append folder 'elmo-message-encache (list number read)))
(defsubst elmo-create-folder-dop (folder)
(elmo-dop-queue-append folder 'elmo-folder-create nil))
(elmo-folder-unmark-important-dop folder numbers))
(luna-define-method elmo-message-encache :around ((folder elmo-net-folder)
- number)
+ number &optional read)
(if (elmo-folder-plugged-p folder)
(luna-call-next-method)
(if elmo-enable-disconnected-operation
- (elmo-message-encache-dop folder number)
+ (elmo-message-encache-dop folder number read)
(error "Unplugged"))))
(luna-define-generic elmo-message-fetch-plugged (folder number strategy
(luna-define-method elmo-message-encache :around ((folder
elmo-shimbun-folder)
- number)
+ number &optional read)
(if (elmo-folder-plugged-p folder)
(luna-call-next-method)
(if elmo-enable-disconnected-operation
- (elmo-message-encache-dop folder number)
+ (elmo-message-encache-dop folder number read)
(error "Unplugged"))))
(luna-define-method elmo-folder-list-messages-internal :around