* elmo-util.el (elmo-warning): Ignore errors while recenter.
* elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
* elmo-imap4.el (elmo-folder-initialize): Don't use
elmo-imap4-default-mailbox.
+2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
+
+ * elmo-util.el (elmo-warning): Ignore errors while recenter.
+
+ * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
+
+ * elmo-imap4.el (elmo-folder-initialize): Don't use
+ elmo-imap4-default-mailbox.
+
2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
* elmo-split.el (toplevel): Use `product-provide'.
(setq parse (elmo-parse-token name ":"))
(elmo-imap4-folder-set-mailbox-internal folder
(elmo-imap4-encode-folder-string
- (if (eq (length (car parse)) 0)
- elmo-imap4-default-mailbox
- (car parse))))
+ (car parse)))
;; user
(setq parse (elmo-parse-prefixed-element ?: (cdr parse) "/"))
(elmo-net-folder-set-user-internal folder
elmo-msgdb-location-filename
dir) alist))
+(put 'elmo-msgdb-do-each-entity 'lisp-indent-function '1)
+(def-edebug-spec elmo-msgdb-do-each-entity
+ ((symbolp form &rest form) &rest form))
+(defmacro elmo-msgdb-do-each-entity (spec &rest form)
+ `(dolist (,(car spec) (elmo-msgdb-get-overview ,(car (cdr spec))))
+ ,@form))
+
(require 'product)
(product-provide (provide 'elmo-msgdb) (require 'elmo-version))
(with-current-buffer (get-buffer-create elmo-warning-buffer-name)
(goto-char (point-max))
(apply 'insert (append args '("\n")))
- (recenter 1))
- (display-buffer elmo-warning-buffer-name))
+ (ignore-errors (recenter 1))
+ (display-buffer elmo-warning-buffer-name)))
(defvar elmo-obsolete-variable-alist nil)
;;; IMAP4
-(defcustom elmo-imap4-default-mailbox "inbox"
- "*Default IMAP4 mailbox."
- :type 'string
- :group 'elmo
- :group 'elmo-setting)
-
(defcustom elmo-imap4-default-server "localhost"
"*Default IMAP4 server."
:type 'string