2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+ * modb.el (elmo-msgdb-length): Define.
+
+ * elmo.el (elmo-make-folder): Fixed.
+ (elmo-generic-folder-append-messages): Follow the API change.
+
* elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
API change.
(setq prefix (substring name 0 1))
(setq name (substring name 1)))
(setq type (intern (car (setq split (split-string name ":")))))
- (if (> (length split) 2)
+ (if (>= (length split) 2)
(setq name (substring name (+ 1 (length (car split)))))
(error "Error in folder name `%s'" original))
(setq prefix (concat (car split) ":")))
(> (buffer-size) 0)
(elmo-folder-append-buffer
folder
- flags
+ (or flags '(read))
(if same-number (car numbers))))))
(error (setq failure t)))
;; FETCH & APPEND finished
(modb-generic-set-message-modified-internal msgdb nil)
(modb-generic-set-flag-modified-internal msgdb nil))
+(luna-define-method elmo-msgdb-length ((msgdb modb-generic))
+ 0)
+
;; for on demand loading
(provide 'modb-generic)