From: Juri Linkov <juri@jurta.org>
To: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: emacs-devel@gnu.org
Subject: Re: suggestion for C-s (isearch-.*) key-bindings
Date: Sat, 21 Jul 2007 22:03:29 +0300 [thread overview]
Message-ID: <87sl7hr2oy.fsf@jurta.org> (raw)
In-Reply-To: <87r6n1kfyg.fsf@debby.local.net> (Dieter Wilhelm's message of "Sat\, 21 Jul 2007 16\:07\:51 +0200")
> I'm very grateful for the supplementary search string features of the
> isearch-.* commands. But I think their key-bindings
> have--unfortunately--little to do with regular Emacs bindings.
Yes, unfortunately, there is a full mismatch between cursor motion
commands and isearch yanking commands.
I had an idea of using a key to activate special isearch mode that will
use cursor motion commands to select the text in the buffer and to add
it to the search string.
> I'd like to suggest the following re-bindings based on Emacs bindings
> for either marking or killing or moving types.
>
> 1.)
> | Key | marking | killing | moving | type |
> |------------+---------+---------+--------+-----------------------|
> | C-M-y | - | C-d | C-f | char |
> | C-w | M-@ | M-d | M-f | word |
> | C-y | - | C-k | C-e | line |
> |------------+---------+---------+--------+-----------------------|
> | suggestion | C-M-@ | C-M-d | C-M-f | sexp (sorely missing) |
>
> I also like to plead for the inclusion of a sexp type in the
> isearch-.* commands.
With a new key these key sequences could be
M-s C-f - yank char to the search string
M-s M-f - yank word to the search string
M-s C-e - yank line to the search string
M-s C-M-f - yank sexp to the search string
> 2.) M-y -> C-y
>
> By the way, C-M-w is in fact unnecessary since backspace is doing the
> job already.
backspace deletes the last isearch input (which can be a yanked word, line
etc.), and not the character from the search string.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2007-07-21 19:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-21 14:07 suggestion for C-s (isearch-.*) key-bindings Dieter Wilhelm
2007-07-21 19:03 ` Juri Linkov [this message]
2007-07-22 1:35 ` Dieter Wilhelm
2007-07-22 21:45 ` Juri Linkov
2007-07-22 1:49 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sl7hr2oy.fsf@jurta.org \
--to=juri@jurta.org \
--cc=dieter@duenenhof-wilhelm.de \
--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 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).