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-search


From: Richard Stallman
Subject: Re: @#$! new behavior of C-b & C-f in i-search
Date: Tue, 18 May 2004 21:26:41 -0400

    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.

        (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.




reply via email to

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