* wl-summary.el (wl-summary-goto-folder-subr): Use it.
2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
+ * wl-vars.el (wl-summary-default-view-alist): New user option.
+
+ * wl-summary.el (wl-summary-goto-folder-subr): Use it.
+
* wl-draft.el (wl-draft-make-mail-followup-to): Ignore case
while deleting address.
(wl-draft-delete-myself-from-cc): Ditto.
(if (file-exists-p view)
(setq wl-summary-buffer-view
(wl-summary-load-file-object view))
- (setq wl-summary-buffer-view wl-summary-default-view))
+ (setq wl-summary-buffer-view
+ (or (wl-get-assoc-list-value
+ wl-summary-default-view-alist
+ (elmo-folder-name-internal folder))
+ wl-summary-default-view)))
(wl-thread-resume-entity folder)
(wl-summary-open-folder folder))
(setq wl-summary-buffer-view
(const :tag "Sequential" sequence))
:group 'wl-summary)
+(defcustom wl-summary-default-view-alist nil
+ "An alist of folder name and summary default view.
+If no match, `wl-summary-default-view' is used."
+ :type '(repeat (cons (regexp :tag "Folder Regexp")
+ (choice (const :tag "Thread" thread)
+ (const :tag "Sequential" sequence))))
+ :group 'wl-summary)
+
(defvar wl-summary-mode-line-format-spec-alist
'((?f (if (memq 'modeline wl-use-folder-petname)
(wl-folder-get-petname (elmo-folder-name-internal