[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: |
Alan Mackenzie |
Subject: |
Re: Request for enhancement: Scrolling (etc.) in incremental search. |
Date: |
Wed, 26 Feb 2003 10:57:29 +0000 (GMT) |
On Tue, 25 Feb 2003, Kim F. Storm wrote:
>Alan Mackenzie <address@hidden> writes:
>> 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)
This way, you don't get the lazy-highlighting after C-l on the parts of
the window that weren't previously visible. Also scroll-\(up\|down\)
can scroll the current search string at point out of the window. This
wrenches point away from the current search string, yet still leaves
isearch-mode active.
I think that the prefix arg stuff is a good idea. Somebody (else) is
going to want to do M-2 <next> to scroll the text up 2 lines.
>Kim F. Storm <address@hidden> http://www.cua.dk
--
Alan Mackenzie (Munich, Germany)
address@hidden