instead of elmo-dop-queue-method.
* elmo.el (elmo-generic-folder-append-messages): Make
fetch-strategy with `use-cache'.
* elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
(elmo-dop-queue-method-name): New macro.
+2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo.el (elmo-generic-folder-append-messages): Make
+ fetch-strategy with `use-cache'.
+
+ * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
+ (elmo-dop-queue-method-name): New macro.
+
2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-archive.el (elmo-archive-get-archive-name): Fixed
method arguments)))
(setq elmo-dop-queue (nconc elmo-dop-queue (list queue)))))
+(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-folder-mark-as-read-dop . "Read")
+ (elmo-folder-unmark-read-dop . "Unread")
+ (elmo-folder-mark-as-important-dop . "Important")
+ (elmo-folder-unmark-important-dop . "Unimportant")))
+
+(defmacro elmo-dop-queue-method-name (queue)
+ `(cdr (assq (elmo-dop-queue-method ,queue)
+ elmo-dop-queue-method-name-alist)))
+
(defun elmo-dop-queue-flush (&optional force)
"Flush disconnected operations.
If optional argument FORCE is non-nil, try flushing all operation queues
(eq (elmo-file-cache-status cache) 'entire))
(elmo-make-fetch-strategy
'entire t nil (elmo-file-cache-path cache))
- (elmo-make-fetch-strategy 'entire))
+ (elmo-make-fetch-strategy 'entire t))
nil (current-buffer)
'unread)
(unless (eq (buffer-size) 0)
+2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl.el (wl-plugged-dop-queue-info): Use elmo-dop-queue-method-name
+ instead of elmo-dop-queue-method.
+
2001-08-06 SAITO Atsunori <sai@yedo.com>
* wl-vars.el (wl-ldap-objectclass): New user option.
(setq last (elmo-dop-queue-fname (car dop-queue)))) ;; first
(while dop-queue
(when (car dop-queue)
- (setq ope (cons (elmo-dop-queue-method (car dop-queue))
- (length
+ (setq ope (cons (elmo-dop-queue-method-name (car dop-queue))
+ (length
(if (listp
- (car
+ (car
(elmo-dop-queue-arguments (car dop-queue))))
(car (elmo-dop-queue-arguments
(car dop-queue))))))))