Re: Re: [PATCH] Conkeror like hints for incremental search
From:
gideon . stupp
Subject:
Re: Re: [PATCH] Conkeror like hints for incremental search
Date:
Wed, 25 Jan 2012 11:03:48 +0000
Nice idea. Let me try and tweak the patch to work in this way. I want to test it and see how it feels.
Thanks, Gideon.
On , Juri Linkov <address@hidden> wrote: > > Anyway, please review it and if there is any interest in it merge it. > > > > Thanks for proposing a useful feature. > > > > I suggest to implement more simple and clean design that is > > based on well-known Emacs features: > > > > 1. On the next matched strings display numbers counting from 1. > > You could try doing with tooltips that will look like in Conkeror, > > (this might be too slow, but worth trying). > > This is easy to do in `isearch-lazy-highlight-update' > > > > 2. Add a new numeric argument `count' to `isearch-repeat-forward' (`C-s') > > and `isearch-repeat-backward' (`C-r'). > > > > This would allow easy navigation with e.g. `C-8 C-s' for the 8-th match > > in forward direction. > > > > 3. For backward matches we could display negative numbers, > > and `C-s' will treat negative arguments like `C- C-8 C-s' > > as positive counts for backward search. > > > > Also `C-r' would treat positive arguments like `C-8 C-r' as positive > > counts in backward direction. A negative arguments for `C-r' like > > `C- C-8 C-r' would go to the 8-th match in forward direction, naturally. > >