;; \e$B$&$+$rH=Dj$9$kMM$K$9$k\e(B
;(unless (memq 'wl-refile-guess-by-spam wl-refile-guess-functions)
; (setq wl-refile-guess-functions
-; (cons #'wl-refile-guess-by-spam
+; (cons #'wl-refile-guess-by-spam
; wl-refile-guess-functions)))
-;; \e$B%5%^%j%P%C%U%!$G\e(B `C-o' (wl-summary-auto-refile) \e$B$7$?;~\e(B, *\e$B:G=i\e(B*\e$B$K\e(B
+;; \e$B%5%^%j%P%C%U%!$G\e(B `C-o' (wl-summary-auto-refile) \e$B$7$?;~\e(B, *\e$B:G=i\e(B*\e$B$K\e(B
;; spam \e$B$+$I$&$+$rH=Dj$9$kMM$K$9$k\e(B
;(unless (memq 'wl-refile-guess-by-spam wl-auto-refile-guess-functions)
; (setq wl-auto-refile-guess-functions
-; (cons #'wl-refile-guess-by-spam
+; (cons #'wl-refile-guess-by-spam
; wl-auto-refile-guess-functions)))
-;; refile-rule \e$B$rM%@h$7$?$$>l9g\e(B (spamfilter-wl.el \e$B$d\e(B bogofilter-wl.el
+;; refile-rule \e$B$rM%@h$7$?$$>l9g\e(B (spamfilter-wl.el \e$B$d\e(B bogofilter-wl.el
;; \e$B$HF1$8@_Dj\e(B) \e$B$O\e(B, \e$B$3$C$A$N@_Dj$rM-8z$K$9$k\e(B
;(unless (memq 'wl-refile-guess-by-spam wl-auto-refile-guess-functions)
; (setq wl-auto-refile-guess-functions
;; refile \e$B$N<B9T;~$K3X=,$5$;$k0Y$N@_Dj\e(B
;; \e$B0J2<$N@_Dj$r$7$?$+$i$H8@$C$F>o$K3X=,$9$kLu$G$O$"$j$^$;$s\e(B. \e$B>\$7$/$O\e(B,
-;; wl-spam.el \e$B$N\e(B wl-spam-undecided-folder-regexp-list \e$B$H\e(B
+;; wl-spam.el \e$B$N\e(B wl-spam-undecided-folder-regexp-list \e$B$H\e(B
;; wl-spam-ignored-folder-regexp-list \e$B$N\e(B docstring \e$B$r;2>H$7$F2<$5$$\e(B.
;(let ((actions wl-summary-mark-action-list)
; action)
; (setq action (car actions)
; actions (cdr actions))
; (when (eq (wl-summary-action-symbol action) 'refile)
-; (setf (nth 4 action) 'wl-summary-exec-action-refile-with-register)
+; (setcar (nthcdr 4 action) 'wl-summary-exec-action-refile-with-register)
; (setq actions nil))))
;;; dot.wl ends here
(when wl-spam-mark-action-list
(setq wl-summary-mark-action-list (append
wl-summary-mark-action-list
- wl-spam-mark-action-list)))
+ wl-spam-mark-action-list))
+ (dolist (action wl-spam-mark-action-list)
+ (setq wl-summary-reserve-mark-list
+ (cons (wl-summary-action-mark action)
+ wl-summary-reserve-mark-list))
+ (setq wl-summary-skip-mark-list
+ (cons (wl-summary-action-mark action)
+ wl-summary-skip-mark-list))))
(define-key wl-summary-mode-map "k" wl-summary-spam-map)
(define-key wl-summary-mode-map "ms" 'wl-summary-target-mark-register-as-spam)
(define-key wl-summary-mode-map "mn" 'wl-summary-target-mark-register-as-good))