sample setting to call wl-summary-unvirtual as wl-summary-buffer-exit-function
authoryoichi <yoichi>
Sun, 8 Apr 2007 16:01:06 +0000 (16:01 +0000)
committeryoichi <yoichi>
Sun, 8 Apr 2007 16:01:06 +0000 (16:01 +0000)
samples/en/dot.wl
samples/ja/dot.wl

index 41bda50..904aca6 100644 (file)
 ;           (wl-folder-open-unread-folder entity)
 ;           ))
 
+;; Jump to unfiltered folder by `wl-summary-exit'. It is useful for people who
+;; use filtered folder as a temporary folder created by `wl-summary-virtual'.
+;(add-hook 'wl-summary-prepared-hook
+;        '(lambda ()
+;           (setq wl-summary-buffer-exit-function
+;                 (when (eq 'filter
+;                           (elmo-folder-type-internal wl-summary-buffer-elmo-folder))
+;                   'wl-summary-unvirtual))))
+
 ;; Change summary display function.
 
 ;; Set extra field use with `elmo-message-entity-field'.
index 7dd59eb..dbe8c62 100644 (file)
 ;           (wl-folder-open-unread-folder entity)
 ;           ))
 
+;; `wl-summary-exit' \e$B$K$h$j%U%#%k%?$5$l$kA0$N%U%)%k%@$KHt$V!#%U%#%k%?%U%)%k%@$r\e(B
+;; `wl-summary-virtual' \e$B$G@8@.$5$l$k0l;~E*$J%U%)%k%@$H$7$F;H$&>l9g$KM-MQ!#\e(B
+;(add-hook 'wl-summary-prepared-hook
+;        '(lambda ()
+;           (setq wl-summary-buffer-exit-function
+;                 (when (eq 'filter
+;                           (elmo-folder-type-internal wl-summary-buffer-elmo-folder))
+;                   'wl-summary-unvirtual))))
+
 ;; \e$B%5%^%jI=<(4X?t$rJQ99$9$k\e(B
 
 ;; `elmo-message-entity-field' \e$B$G;2>H$7$?$$%U%#!<%k%I!#\e(B