From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: @#$! new behavior of C-b & C-f in i-search Date: Tue, 18 May 2004 21:26:41 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084930117 14025 80.91.224.253 (19 May 2004 01:28:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 May 2004 01:28:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 19 03:28:29 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQFsj-0001rV-00 for ; Wed, 19 May 2004 03:28:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQFsj-0002Eu-00 for ; Wed, 19 May 2004 03:28:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQFsT-0006HF-Ou for emacs-devel@quimby.gnus.org; Tue, 18 May 2004 21:28:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQFsB-0006Fu-9q for emacs-devel@gnu.org; Tue, 18 May 2004 21:27:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQFre-00068M-Dt for emacs-devel@gnu.org; Tue, 18 May 2004 21:27:53 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQFr0-0005xM-EX for emacs-devel@gnu.org; Tue, 18 May 2004 21:26:42 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BQFqz-0001tC-Ud; Tue, 18 May 2004 21:26:42 -0400 Original-To: Miles Bader In-reply-to: (message from Miles Bader on 18 May 2004 13:51:11 +0900) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23672 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23672 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.