all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: @#$! new behavior of C-b & C-f in i-search
Date: Wed, 19 May 2004 12:32:45 +0300	[thread overview]
Message-ID: <877jv8ahjb.fsf@mail.jurta.org> (raw)
In-Reply-To: <buon044lrak.fsf@mctpc71.ucom.lsi.nec.co.jp> (Miles Bader's message of "19 May 2004 18:06:27 +0900")

Miles Bader <miles@lsi.nec.co.jp> writes:
> Juri Linkov <juri@jurta.org> writes:
>> 	(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.
>
> Perhaps, but the mnemonics are pretty bizarre -- C-w adds _adds_ a word,
> but C-M-w _deletes_ a char?

There is not too much choice for good mnemonics in such extremely limited
decision space.

But C-M-w still makes sense because C-w not only adds a word, but also
a character (`isearch-yank-word-or-char').

And binding C-M-y to `isearch-yank-char' will have the same mnemonics
as C-y for `isearch-yank-line' (where `y' supposedly means `yank').

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

      reply	other threads:[~2004-05-19  9:32 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   ` @#$! new behavior of C-b & C-f in i-search Juri Linkov
2004-05-19  9:06     ` Miles Bader
2004-05-19  9:32       ` Juri Linkov [this message]

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