all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: @#$! new behavior of C-b & C-f in i-search
Date: Wed, 19 May 2004 11:33:14 +0300	[thread overview]
Message-ID: <87wu38erzp.fsf@mail.jurta.org> (raw)
In-Reply-To: <E1BQFqz-0001tC-Ud@fencepost.gnu.org> (Richard Stallman's message of "Tue, 18 May 2004 21:26:41 -0400")

Richard Stallman <rms@gnu.org> writes:
> 	(define-key isearch-mode-map "\C-w"    'isearch-yank-word-or-char)
> 	(define-key isearch-mode-map "\M-w"    'isearch-yank-word)
> 	(define-key isearch-mode-map "\C-\M-w" 'isearch-del-char)
> 	(define-key isearch-mode-map "\C-\M-y" 'isearch-yank-char)
>
> 	(define-key isearch-mode-map "\C-w"    'isearch-yank-word-or-char)
> 	(define-key isearch-mode-map "\M-w"    'isearch-del-char)
> 	(define-key isearch-mode-map "\C-\M-w" 'isearch-yank-char)
> 	(define-key isearch-mode-map "\C-\M-y" 'isearch-yank-word)
>
> C-M-w and C-M-y might be good to use, but I suspect
> people use M-w to exit a search.  It makes sense there,
> to copy the text from where the search started.

It makes no less sense to use C-w to kill the text from where the
search started, but people already know that C-w has special meaning
in isearch mode.

Anyway, it seems that C-M-w and C-M-y are sufficient, and final
key bindings could be:

	(define-key isearch-mode-map "\C-w"    'isearch-yank-word-or-char)
	(define-key isearch-mode-map "\C-\M-w" 'isearch-del-char)
	(define-key isearch-mode-map "\C-\M-y" 'isearch-yank-char)

C-M-w is even more convenient than C-b because `isearch-del-char' and
`isearch-yank-word-or-char' are on the same `w' key, which will
allow more easily to type C-M-w when C-w grabs too much text.

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

  parent reply	other threads:[~2004-05-19  8:33 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18  4:51 @#$! new behavior of C-b & C-f in i-search Miles Bader
2004-05-18  0:15 ` Karl Fogel
2004-05-18  6:05 ` Juri Linkov
2004-05-18  7:06 ` Kai Grossjohann
2004-05-18  7:16   ` David Kastrup
2004-05-19  5:22   ` Karl Eichwalder
2004-05-20  6:03     ` Juri Linkov
2004-05-20  7:29       ` David Kastrup
2004-05-20  8:35         ` Kenichi Handa
2004-05-20 10:48           ` David Kastrup
2004-05-20 11:31             ` Kenichi Handa
2004-05-20 17:34         ` Kevin Rodgers
2004-05-20 18:02           ` David Kastrup
2004-05-20 20:08             ` Peter Lee
2004-05-24  8:48               ` Juri Linkov
2004-06-07  6:43                 ` Juri Linkov
2004-06-07 19:17                   ` Richard Stallman
2004-06-11  8:17                     ` Juri Linkov
2004-06-11  8:35                       ` Kim F. Storm
2004-06-11  8:48                       ` Alan Mackenzie
2004-06-12  1:50                       ` Richard Stallman
2004-05-18 12:27 ` Robert J. Chassell
2004-05-19  1:26 ` Richard Stallman
2004-05-19  6:32   ` @#$! new behavior of C-b & C-f in i-searchi Alan Mackenzie
2004-05-19  8:33   ` Juri Linkov [this message]
2004-05-19  9:06     ` @#$! new behavior of C-b & C-f in i-search Miles Bader
2004-05-19  9:32       ` Juri Linkov

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=87wu38erzp.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --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.