unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* add non-chord keys to repeat isearch
@ 2009-06-09 15:44 Drew Adams
  2009-06-09 15:51 ` Deniz Dogan
  2009-06-09 16:47 ` Alan Mackenzie
  0 siblings, 2 replies; 13+ messages in thread
From: Drew Adams @ 2009-06-09 15:44 UTC (permalink / raw)
  To: 'Emacs-Devel devel'

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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-06-14 17:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 15:44 add non-chord keys to repeat isearch Drew Adams
2009-06-09 15:51 ` Deniz Dogan
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).