msgdb path.
* elmo-pop3.el (elmo-folder-exists-p): Ditto.
+2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
+ msgdb path.
+
+ * elmo-pop3.el (elmo-folder-exists-p): Ditto.
+
2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
* elmo-util.el (elmo-read-search-condition-internal): Give default
(luna-define-method elmo-folder-exists-p ((folder elmo-net-folder))
(if (elmo-folder-plugged-p folder)
(elmo-folder-send folder 'elmo-folder-exists-p-plugged)
- nil)) ; If unplugged, assume the folder not exists.
+ ;; If unplugged, guess by msgdb.
+ (file-directory-p (elmo-folder-msgdb-path folder))))
(luna-define-method elmo-folder-status ((folder elmo-net-folder))
(if (elmo-folder-plugged-p folder)
(setq session (elmo-pop3-get-session folder))
(if session
(elmo-network-close-session session)))))
- nil))
+ (file-directory-p (elmo-folder-msgdb-path folder))))
(defun elmo-pop3-parse-uidl-response (string)
(let ((buffer (current-buffer))