* wl-summary.el (wl-summary-mode-map): Exchange bindings for
authoryoichi <yoichi>
Wed, 13 Mar 2002 11:06:32 +0000 (11:06 +0000)
committeryoichi <yoichi>
Wed, 13 Mar 2002 11:06:32 +0000 (11:06 +0000)
wl-summary-previous-buffer and wl-summary-next-buffer.

* wl-folder.el (wl-folder-mode-map): Bind
wl-folder-jump-to-next-summary and wl-folder-jump-to-previous-summary.
(wl-folder-jump-to-next-summary): New function.
(wl-folder-jump-to-previous-summary): Ditto.

wl/ChangeLog
wl/wl-folder.el
wl/wl-summary.el

index c73af11..5524ec9 100644 (file)
@@ -1,5 +1,13 @@
 2002-03-13  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
+       * wl-summary.el (wl-summary-mode-map): Exchange bindings for
+       wl-summary-previous-buffer and wl-summary-next-buffer.
+
+       * wl-folder.el (wl-folder-mode-map): Bind
+       wl-folder-jump-to-next-summary and wl-folder-jump-to-previous-summary.
+       (wl-folder-jump-to-next-summary): New function.
+       (wl-folder-jump-to-previous-summary): Ditto.
+
        * wl-draft.el (wl-draft): Rearranged.
 
 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
index 06fc855..012607c 100644 (file)
   (define-key wl-folder-mode-map "W"    'wl-folder-write-current-folder)
   (define-key wl-folder-mode-map "\C-c\C-o" 'wl-jump-to-draft-buffer)
   (define-key wl-folder-mode-map "\C-c\C-a" 'wl-addrmgr)
+  (define-key wl-folder-mode-map "\C-c\C-p" 'wl-folder-jump-to-previous-summary)
+  (define-key wl-folder-mode-map "\C-c\C-n" 'wl-folder-jump-to-next-summary)
   (define-key wl-folder-mode-map "rS"   'wl-folder-sync-region)
   (define-key wl-folder-mode-map "S"    'wl-folder-sync-current-entity)
   (define-key wl-folder-mode-map "rs"   'wl-folder-check-region)
@@ -2866,6 +2868,16 @@ Call `wl-summary-write-current-folder' with current folder name."
                              ","))
        (message "No message was picked.")))))
 
+(defun wl-folder-jump-to-next-summary ()
+  (interactive)
+  (when (wl-collect-summary)
+    (wl-summary-next-buffer)))
+
+(defun wl-folder-jump-to-previous-summary ()
+  (interactive)
+  (when (wl-collect-summary)
+    (wl-summary-previous-buffer)))
+
 (require 'product)
 (product-provide (provide 'wl-folder) (require 'wl-version))
 
index 14e3747..227a820 100644 (file)
   (define-key wl-summary-mode-map "e"     'wl-summary-save)
   (define-key wl-summary-mode-map "\C-c\C-o" 'wl-jump-to-draft-buffer)
   (define-key wl-summary-mode-map "\C-c\C-a" 'wl-addrmgr)
-  (define-key wl-summary-mode-map "\C-c\C-p" 'wl-summary-next-buffer)
-  (define-key wl-summary-mode-map "\C-c\C-n" 'wl-summary-previous-buffer)
+  (define-key wl-summary-mode-map "\C-c\C-p" 'wl-summary-previous-buffer)
+  (define-key wl-summary-mode-map "\C-c\C-n" 'wl-summary-next-buffer)
   (define-key wl-summary-mode-map "H"    'wl-summary-redisplay-all-header)
   (define-key wl-summary-mode-map "M"    'wl-summary-redisplay-no-mime)
   (define-key wl-summary-mode-map "B"    'wl-summary-burst)