+2001-06-25 Yuuichi Teranishi <teranisi@isl.ntt.co.jp>
+
+ * wl.el (wl): Check environment before wl-init.
+
+ * wl-summary.el (wl-summary-collect-unread): Eliminated.
+ (wl-summary-mark-as-read-all): Use elmo-folder-list-unreads
+ instead of wl-summary-collect-unread.
+ (wl-summary-reply): Split message window.
+
2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
* wl-vars.el (wl): Set custom-manual link as "wl-ja"
(if wl-summary-buffer-disp-msg
(wl-summary-redisplay)))
-(defun wl-summary-collect-unread (mark-alist &optional folder)
- (let (mark ret-val)
- (while mark-alist
- (setq mark (cadr (car mark-alist)))
- (and mark
- (or (string= mark wl-summary-new-mark)
- (string= mark wl-summary-unread-uncached-mark)
- (string= mark wl-summary-unread-cached-mark))
- (setq ret-val (cons (car (car mark-alist)) ret-val)))
- (setq mark-alist (cdr mark-alist)))
- ret-val))
-
(defun wl-summary-count-unread (mark-alist)
(let ((new 0)
(unread 0)
(case-fold-search nil)
msg mark)
(message "Setting all msgs as read...")
- (elmo-folder-mark-as-read folder (wl-summary-collect-unread mark-alist))
+ (elmo-folder-mark-as-read folder
+ (elmo-folder-list-unreads
+ folder
+ (list wl-summary-unread-cached-mark
+ wl-summary-unread-uncached-mark
+ wl-summary-new-mark)))
(save-excursion
(goto-char (point-min))
(while (re-search-forward "^ *\\(-?[0-9]+\\)[^0-9]\\([^0-9 ]\\)" nil t)
(wl-message-select-buffer wl-message-buffer)
(set-buffer mes-buf)
(goto-char (point-min))
+ (or wl-draft-use-frame
+ (split-window-vertically))
+ (other-window 1)
(when (setq mes-buf (wl-message-get-original-buffer))
(wl-draft-reply mes-buf arg summary-buf)
(unless without-setup-hook
(elmo-init)
(let (demo-buf)
(unless wl-init
- (if wl-demo (setq demo-buf (wl-demo))))
- (wl-init)
- (unless wl-init
+ (if wl-demo (setq demo-buf (wl-demo)))
(condition-case nil
(progn
(message "Checking environment...")
(message "Checking environment...done"))
(error)
(quit)))
+ (wl-init)
(condition-case obj
(progn
(wl-plugged-init (wl-folder arg))