unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: ams@gnu.org
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: isearch and M-y/C-y
Date: Thu, 20 Nov 2008 01:18:00 +0200	[thread overview]
Message-ID: <874p23b907.fsf@jurta.org> (raw)
In-Reply-To: <1227108293.271364.5180.nullmailer@null> (Alfred M. Szmidt's message of "Wed, 19 Nov 2008 16:24:53 +0100")

>    The current search C-y feature needs to be easy to type in order to
>    be any use.  I think C-M-y would be too inconvenient, so it would
>    almost have the effect of eliminating this feature.
>
> We use C-M-w already, and other C-M- combinations, so I cannot see how
> that would be any more inconvient.  Perhaps someone has a better idea
> for a keybinding?

I have the following idea: bind `isearch-yank-line' to `M-s C-e' because
`move-end-of-line' is on `C-e'.  It is also possible to allow a sequence
of `M-s C-e C-e C-e ...' without the need to repeat `M-s' before each `C-e'.
This can be extended to other motion commands, e.g. `M-s C-f C-f C-f ...'
to call a sequence of `isearch-yank-char', `M-s M-f M-f M-f ...'  to
call a sequence of `isearch-yank-word', and any combinations of them
`M-s C-f M-f C-f ...', etc.

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




  reply	other threads:[~2008-11-19 23:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-16 15:31 isearch and M-y/C-y Alfred M. Szmidt
2008-11-16 22:18 ` Juri Linkov
2008-11-17 18:14   ` Alfred M. Szmidt
2008-11-18 22:03     ` Juri Linkov
2008-11-18 22:59       ` Alfred M. Szmidt
2008-11-19 12:51         ` Richard M. Stallman
2008-11-19 15:24           ` Alfred M. Szmidt
2008-11-19 23:18             ` Juri Linkov [this message]
2008-11-20 17:14               ` mail
2008-11-20 17:43                 ` Eric Schulte
2008-11-21  0:50                   ` Stephen J. Turnbull
2008-11-21 23:16                     ` Richard M. Stallman
2008-11-20 14:26             ` Richard M. Stallman
2008-11-20  1:05       ` Andrew W. Nosenko
2008-11-20 15:02         ` Richard M. Stallman
2008-11-20 15:40           ` Andreas Schwab
2008-11-21  2:27             ` Miles Bader
2008-11-21  4:09               ` Stephen J. Turnbull
2008-11-21 23:15               ` Richard M. Stallman
2008-11-19 13:36 ` Teemu Likonen
2008-11-19 15:21   ` Alfred M. Szmidt
2008-11-19 15:31     ` Andreas Schwab
2008-11-19 15:39     ` Teemu Likonen
2008-11-19 15:46       ` Alfred M. Szmidt

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=874p23b907.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=ams@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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).