unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
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: Mon, 23 Jul 2007 00:45:56 +0300	[thread overview]
Message-ID: <87zm1op0x7.fsf@jurta.org> (raw)
In-Reply-To: <874pjxjk57.fsf@debby.local.net> (Dieter Wilhelm's message of "Sun\, 22 Jul 2007 03\:35\:00 +0200")

>> 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
>
> Why do you prefer a special key combo beforehand the motion commands?
> I, personally, am very happy with the current 'isearch mode' which
> changes the meaning of some key-bindings.  (Vi's modal philosophy in
> Emacs by stealth!).  And it makes sense, they are normally exclusive:
> Either I want to move point by motion commands or I want to move by
> searching commands, I don't see yet the rub.

Unfortunately, there are too little keys that are not useful to exit
isearch and be applied to the buffer where the search was exited.
So it is hard to find a suitable key for the search type you proposed -
to yank sexp to the search string.  A special prefix key allows more keys
to extend isearch functionality.

>>> 2.) M-y -> C-y
>
> The M-y -> C-y would be good, wouldn't it?

This is not a backward compatible change :(

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2007-07-22 21:45 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
2007-07-22  1:35   ` Dieter Wilhelm
2007-07-22 21:45     ` Juri Linkov [this message]
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=87zm1op0x7.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).