emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @#$! new behavior of C-b & C-f in i-searchi


From: Alan Mackenzie
Subject: Re: @#$! new behavior of C-b & C-f in i-searchi
Date: Wed, 19 May 2004 06:32:14 +0000 (GMT)


On Tue, 18 May 2004, Richard Stallman wrote:

>    I originally liked the idea of `C-b' & `C-f' in i-search doing
>    special stuff, but ever since this was installed, it's been driving
>    me batty -- I apparently use those keystrokes to exit i-search _way_
>    more than I thought.

>I am not surprised.

> #1    (define-key isearch-mode-map "\C-w"    'isearch-yank-word-or-char)
> #2    (define-key isearch-mode-map "\M-w"    'isearch-yank-word)
> #3    (define-key isearch-mode-map "\C-\M-w" 'isearch-del-char)
> #4    (define-key isearch-mode-map "\C-\M-y" 'isearch-yank-char)

> #5    (define-key isearch-mode-map "\C-w"    'isearch-yank-word-or-char)
> #6    (define-key isearch-mode-map "\M-w"    'isearch-del-char)
> #7    (define-key isearch-mode-map "\C-\M-w" 'isearch-yank-char)
> #8    (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.

<sticks up hand>.  Yes, I frequently use M-w this way.  I put point at
the beginning of something I want to copy, use C-s, C-w, C-w, ...... to
move over and highlight the something, then M-w to copy in into the kill
ring.  I'd be C-f'ing and C-b'linding myself, if this stopped working.  ;-(

Please be _very_ careful, what bindings get shadowed here.

-- 
Alan Mackenzie (Munich, Germany)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]