* elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and 'Create'.
authorteranisi <teranisi>
Wed, 3 Oct 2001 09:38:23 +0000 (09:38 +0000)
committerteranisi <teranisi>
Wed, 3 Oct 2001 09:38:23 +0000 (09:38 +0000)
(elmo-message-encache-dop): Added argument `read'.

* elmo-shimbun.el (elmo-message-encache): Ditto.

* elmo-net.el (elmo-message-encache): Ditto.

elmo/ChangeLog
elmo/elmo-dop.el
elmo/elmo-net.el
elmo/elmo-shimbun.el

index 8b0dd0d..d2e07a3 100644 (file)
@@ -1,5 +1,13 @@
 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.
index 4b31e93..abf1bce 100644 (file)
@@ -65,8 +65,8 @@ Automatically loaded/saved.")
 (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")
@@ -210,8 +210,8 @@ FOLDER is the folder structure."
                           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))
index 3bb72c2..2eb2f21 100644 (file)
@@ -496,11 +496,11 @@ Returned value is searched from `elmo-network-stream-type-alist'."
   (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
index 4fe6493..0325f04 100644 (file)
@@ -357,11 +357,11 @@ See `shimbun-headers' for more detail about RANGE."
 
 (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