emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

minibuffer-local-isearch-map


From: Andreas Roehler
Subject: minibuffer-local-isearch-map
Date: Wed, 28 Jun 2006 09:41:35 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060516)

convenience

What about to have analog with

;;      bindings.el
;; ...
;;     (define-key map [down]  'next-history-element)
;; (define-key map [up] 'previous-history-element)
the already in isearch.el keyed commands

   (define-key map "\M-n" 'isearch-ring-advance)
   (define-key map "\M-p" 'isearch-ring-retreat)

also assigned as

(define-key map [up] 'isearch-ring-advance) (define-key map [down] 'isearch-ring-retreat)

At least it works here.

(At GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-06-18.)

__
Andreas Roehler

diff -c isearch.el ~/emacs/veraendert/isearch.el
*** isearch.el    2006-05-06 01:37:31.000000000 +
~/emacs/veraendert/isearch.el    2006-06-28 09:32:19.000000000 +0200
***************
*** 377,382 ****
--- 377,386 ----

     (define-key map "\M-n" 'isearch-ring-advance)
     (define-key map "\M-p" 'isearch-ring-retreat)
+     ;; 2006-06-28 address@hidden changed section start
+     (define-key map [up]    'isearch-ring-advance)
+     (define-key map [down]  'isearch-ring-retreat)
+     ;; 2006-06-28 address@hidden changed section end
     (define-key map "\M-y" 'isearch-yank-kill)

     (define-key map "\M-\t" 'isearch-complete)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]