+2000-02-20 Kenichi OKADA <okada@opaopa.org>
+
+ * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
+
+2000-02-19 Kenichi OKADA <okada@opaopa.org>
+
+ * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
+ * wl-summary.el (wl-summary-sync-update3): Bind 'nohide as t if sync-all.
+ * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
+ * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
+ * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
+ * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
+ * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
+ * elmo-archive.el (elmo-archive-list-folder): Ditto.
+ * elmo-filter.el (elmo-filter-list-folder): Ditto.
+ * elmo-internal.el (elmo-internal-list-folder): Ditto.
+ * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
+ * elmo-multi.el (elmo-multi-list-folder): Ditto.
+ * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
+ * elmo-dop.el (elmo-dop-list-folder): Ditto.
+
2000-02-17 Kenichi OKADA <okada@opaopa.org>
* elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
(setq numbers (sort file-list '<))
(elmo-living-messages numbers killed))))
-(defun elmo-archive-list-folder (spec)
+(defun elmo-archive-list-folder (spec &optional nohide)
(elmo-archive-list-folder-subr spec))
(defun elmo-archive-max-of-folder (spec)
(save-match-data
(elmo-dop-queue-append folder "prefetch-msgs" msgs)))
-(defun elmo-dop-list-folder (folder)
+(defun elmo-dop-list-folder (folder &optional nohide)
(if (or (memq (elmo-folder-get-type folder)
'(imap4 nntp pop3 filter pipe))
(and (elmo-multi-p folder) (not (elmo-folder-local-p folder))))
(defun elmo-filter-delete-msgs (spec msgs)
(elmo-call-func (nth 2 spec) "delete-msgs" msgs))
-(defun elmo-filter-list-folder (spec)
+(defun elmo-filter-list-folder (spec &optional nohide)
(elmo-search (nth 2 spec) (nth 1 spec)))
(defun elmo-filter-list-folder-unread (spec number-alist mark-alist
"search %s") flag))
'search)))
-(defun elmo-imap4-list-folder (spec)
+(defun elmo-imap4-list-folder (spec &optional nohide)
(let* ((killed (and elmo-use-killed-list
(elmo-msgdb-killed-list-load
(elmo-msgdb-expand-path spec))))
(max (elmo-msgdb-max-of-killed killed))
numbers)
(setq numbers (elmo-imap4-list spec
- (if (null (eq max 0))
- (format "%d:*" (1+ max))
+ (if (or nohide
+ (null (eq max 0)))
+ (format "uid %d:*" (1+ max))
"all")))
(elmo-living-messages numbers killed)))
(setq numbers (sort flist '<))
(elmo-living-messages numbers killed))))
-(defun elmo-internal-list-folder (spec)
+(defun elmo-internal-list-folder (spec &optional nohide)
(elmo-internal-list-folder-subr spec))
(defun elmo-internal-list-folder-by-location (spec location &optional msgdb)
(mapcar '(lambda (msg) (elmo-localdir-delete-msg spec msg))
msgs))
-(defun elmo-localdir-list-folder (spec); called by elmo-localdir-search()
+(defun elmo-localdir-list-folder (spec &optional nohide); called by elmo-localdir-search()
(elmo-localdir-list-folder-subr spec))
(defun elmo-localdir-max-of-folder (spec)
(elmo-localnews-as-newsdir
(elmo-localdir-read-msg spec number outbuf)))
-(defun elmo-localnews-list-folder (spec)
+(defun elmo-localnews-list-folder (spec &optional nohide)
(elmo-localnews-as-newsdir
(elmo-localdir-list-folder-subr spec)))
(setq numbers (sort flist '<))
(elmo-living-messages numbers killed))))
-(defun elmo-maildir-list-folder (spec)
+(defun elmo-maildir-list-folder (spec &optional nohide)
(elmo-maildir-update-current spec)
(elmo-maildir-list-folder-subr spec))
folders (cdr folders)))
importants))
-(defun elmo-multi-list-folder (spec)
+(defun elmo-multi-list-folder (spec &optional nohide)
(let* ((flds (cdr spec))
(cur-number 0)
(killed (and elmo-use-killed-list
(goto-char (point-min))
(read (current-buffer)))))
-(defun elmo-nntp-list-folder (spec)
+(defun elmo-nntp-list-folder (spec &optional nohide)
(let ((session (elmo-nntp-get-session spec))
(group (elmo-nntp-spec-group spec))
(killed (and elmo-use-killed-list
(elmo-commit src))
(run-hooks 'elmo-pipe-drained-hook)))
-(defun elmo-pipe-list-folder (spec)
+(defun elmo-pipe-list-folder (spec &optional nohide)
(elmo-pipe-drain (elmo-pipe-spec-src spec)
(elmo-pipe-spec-dst spec))
(let ((killed (and elmo-use-killed-list
(sort list '<))
(error "POP3: Error in list")))))
-(defun elmo-pop3-list-folder (spec)
+(defun elmo-pop3-list-folder (spec &optional nohide)
(let ((killed (and elmo-use-killed-list
(elmo-msgdb-killed-list-load
(elmo-msgdb-expand-path spec))))
(elmo-dop-max-of-folder folder)))
;; list elmo-list-folder (folder)
-(defun elmo-list-folder (folder)
+(defun elmo-list-folder (folder &optional nohide)
(if (elmo-folder-plugged-p folder)
- (elmo-call-func folder "list-folder")
- (elmo-dop-list-folder folder)))
+ (elmo-call-func folder "list-folder" nohide)
+ (elmo-dop-list-folder folder nohide)))
;; list elmo-list-folders (folder)
(defun elmo-list-folders (folder &optional hierarchy)
(wl-folder-confirm-existence folder 'force)
(message "Checking folder diff...")
(elmo-commit folder)
- (setq in-folder (elmo-list-folder folder))
+ (setq in-folder (elmo-list-folder folder sync-all))
(setq in-db (unless sync-all (sort (mapcar 'car number-alist) '<)))
(if (not elmo-use-killed-list)
(setq diff (if (eq (elmo-folder-get-type folder) 'multi)