From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: add non-chord keys to repeat isearch
Date: Tue, 9 Jun 2009 17:51:19 +0200 [thread overview]
Message-ID: <7b501d5c0906090851t3f3dc456mffd8e6d69e6250d1@mail.gmail.com> (raw)
In-Reply-To: <EC6DB690AE6A427780A6C81C9F728E21@us.oracle.com>
2009/6/9 Drew Adams <drew.adams@oracle.com>:
> I often repeat `C-s' (same search string), over and over and over.
> You too, right? Poor pinky.
>
> (define-key isearch-mode-map [next] 'isearch-repeat-forward)
> (define-key isearch-mode-map [prior] 'isearch-repeat-backward)
>
> Duh! Why I never bothered to do that before, I dunno. I've been doing it forever
> in Framemaker (which doesn't have incremental search), but I never thought to do
> it for Emacs too. Blinded by habit, I guess.
>
> I propose that Emacs do the same thing out of the box.
>
> Someone (Richard?) will no doubt argue that he prefers to have `next' exit
> Isearch and move down a page, and similarly for alternative bindings one might
> propose here. And perhaps there will be other arguments against (I know some
> people just don't like adding bindings to `isearch-mode-map'). But to me this is
> a no-brainer (now that I think of it ;-)).
>
> WDOT?
>
> P.S. No removal of any bindings, just addition of these two.
> You can still use `C-s C-s C-s C-s C-s C-s' if you prefer.
I have no idea what the "next" and "prior" keys mean. Could you please
explain? Thanks.
--
Deniz Dogan
next prev parent reply other threads:[~2009-06-09 15:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-09 15:44 add non-chord keys to repeat isearch Drew Adams
2009-06-09 15:51 ` Deniz Dogan [this message]
2009-06-09 15:59 ` Drew Adams
2009-06-09 16:47 ` Alan Mackenzie
2009-06-09 17:08 ` Drew Adams
2009-06-09 17:45 ` Deniz Dogan
2009-06-09 17:48 ` Alan Mackenzie
2009-06-09 18:27 ` Drew Adams
2009-06-09 19:56 ` Alan Mackenzie
2009-06-10 17:32 ` Drew Adams
2009-06-14 17:12 ` Alan Mackenzie
2009-06-09 23:06 ` Miles Bader
2009-06-10 17:32 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7b501d5c0906090851t3f3dc456mffd8e6d69e6250d1@mail.gmail.com \
--to=deniz.a.m.dogan@gmail.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.