[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request for enhancement: Scrolling (etc.) in incremental search.
From: |
Kim F. Storm |
Subject: |
Re: Request for enhancement: Scrolling (etc.) in incremental search. |
Date: |
25 Feb 2003 23:37:06 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Alan Mackenzie <address@hidden> writes:
> PROBLEM: While searching through a file with incremental search (C-s), I
> often find myself wanting to do things like this:
>
[...]
>
> UNFORTUNATELY, as soon as I do any of the above, the search is
> terminated, and I find it more irritating than most people might believe
Except for the prefix arg handling (creeping featurism IMO :-),
you can achieve the same effect by suitable bindings in
isearch-mode-map, e.g.
(define-key isearch-mode-map "\C-l" 'recenter)
(define-key isearch-mode-map [prior] 'scroll-down)
(define-key isearch-mode-map [next] 'scroll-up)
(defvar isearch-control-X-map (make-sparse-keymap))
(define-key isearch-control-X-map "2" 'split-window-vertically)
(define-key isearch-control-X-map "\C-b" 'list-buffers)
(define-key isearch-control-X-map [t] 'isearch-other-control-char)
(define-key isearch-mode-map "\C-x" isearch-control-X-map)
--
Kim F. Storm <address@hidden> http://www.cua.dk