all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Emacs-Devel devel'" <emacs-devel@gnu.org>
Subject: add non-chord keys to repeat isearch
Date: Tue, 9 Jun 2009 08:44:41 -0700	[thread overview]
Message-ID: <EC6DB690AE6A427780A6C81C9F728E21@us.oracle.com> (raw)

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.





             reply	other threads:[~2009-06-09 15:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 15:44 Drew Adams [this message]
2009-06-09 15:51 ` add non-chord keys to repeat isearch 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

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=EC6DB690AE6A427780A6C81C9F728E21@us.oracle.com \
    --to=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.