+2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl.el (wl-toggle-plugged): Set `wl-biff-check-folders-running' as
+ nil.
+
+ * wl-summary.el (wl-summary-sync-force-update): Save seen-list only
+ when it is persistent.
+ (wl-summary-sync-marks): Changed argument for
+ `elmo-list-folder-unread' and `elmo-list-folder-important'.
+ (wl-summary-virtual): Use `elmo-read-search-condition'.
+ (wl-summary-redisplay-internal): If folder is local, mark as read
+ even when folder is plugged.
+
2000-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
* wl-e21.el (wl-e21-make-toolbar-buttons): Don't modify the value
ret-val seen-list)
(unwind-protect
(progn
- (setq seen-list (elmo-msgdb-seen-load msgdb-dir))
+ (if wl-summary-buffer-persistent
+ (setq seen-list (elmo-msgdb-seen-load msgdb-dir)))
(setq ret-val (wl-summary-sync-update3 seen-list unset-cursor))
- (elmo-msgdb-seen-save msgdb-dir nil))
+ (if wl-summary-buffer-persistent
+ (elmo-msgdb-seen-save msgdb-dir nil)))
(set-buffer (current-buffer)))
(if (interactive-p)
(message "%s" ret-val))
num-ma (length mark-alist)
importants (elmo-list-folder-important
wl-summary-buffer-folder-name
- (elmo-msgdb-get-overview wl-summary-buffer-msgdb))
+ wl-summary-buffer-msgdb)
has-imap4 (elmo-folder-contains-type
wl-summary-buffer-folder-name 'imap4)
unreads (if (and has-imap4 plugged)
(elmo-list-folder-unread
wl-summary-buffer-folder-name
- mark-alist unread-marks)))
+ wl-summary-buffer-msgdb unread-marks)))
(while mark-alist
(if (string= (cadr (car mark-alist))
wl-summary-important-mark)
(interactive "P")
(if arg
(wl-summary-unvirtual)
- (let* ((completion-ignore-case t)
- (field (completing-read (format "Field name (%s): "
- wl-summary-pick-field-default)
- '(("From" . "From")
- ("Subject" . "Subject")
- ("To" . "To")
- ("Cc" . "Cc")
- ("Body" . "Body")
- ("Since" . "Since")
- ("Before" . "Before"))))
- (value (read-from-minibuffer "Value: ")))
- (if (string= field "")
- (setq field wl-summary-pick-field-default))
- (wl-summary-goto-folder-subr (concat "/" (downcase field) "=" value "/"
- wl-summary-buffer-folder-name)
- 'update nil nil t))))
+ (wl-summary-goto-folder-subr (concat "/"
+ (elmo-read-search-condition
+ wl-summary-pick-field-default)
+ "/"
+ wl-summary-buffer-folder-name)
+ 'update nil nil t)))
(defun wl-summary-delete-all-temp-marks ()
(interactive)
(if wl-message-cache-used
nil
;; plugged, then leave server-mark.
- (if (elmo-folder-plugged-p
- wl-summary-buffer-folder-name)
+ (if (and
+ (not
+ (elmo-folder-local-p
+ wl-summary-buffer-folder-name))
+ (elmo-folder-plugged-p
+ wl-summary-buffer-folder-name))
'leave))
- t) ;; displayed
+ t) ; displayed
)
(setq wl-summary-buffer-current-msg num)
(when wl-summary-recenter