From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: isearch multiple buffers Date: Sun, 28 Oct 2007 03:33:33 +0200 Organization: JURTA Message-ID: <877il8f3kj.fsf@jurta.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193537153 11697 80.91.229.12 (28 Oct 2007 02:05:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 02:05:53 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 28 03:05:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IlxWW-0003lN-CO for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2007 03:05:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlxWN-0007gR-1r for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2007 22:04:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlxUd-0005FG-23 for emacs-devel@gnu.org; Sat, 27 Oct 2007 22:03:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlxUc-0005Ds-DH for emacs-devel@gnu.org; Sat, 27 Oct 2007 22:03:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlxUc-0005Da-0p for emacs-devel@gnu.org; Sat, 27 Oct 2007 22:03:10 -0400 Original-Received: from mailman.kiev.sovam.com ([89.162.150.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IlxUX-0005RS-Cx; Sat, 27 Oct 2007 22:03:05 -0400 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]) by mailman.kiev.sovam.com with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Im0Ig-000IKs-DP; Sun, 28 Oct 2007 05:03:02 +0000 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1IlxUJ-000JvS-J2; Sun, 28 Oct 2007 04:03:01 +0200 In-Reply-To: (Drew Adams's message of "Sat\, 27 Oct 2007 17\:10\:22 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Scanner-Signature: 7ffaa6bc246e67c9b1a22e0c753f4a43 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1690 [Oct 27 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 25 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81912 Archived-At: > Likewise, the inconvenience of entering incremental word search is not > related to multi-buffer isearch. You once advocated an isearch binding for > that, and I agreed. In my own code, I use `C-s M-w', which is simple and > mnemonic. I think RMS opposed it because he wants `M-w' to end the search > and copy the region. If not that key, then another? A key that doesn't cause conflicts with keys useful for exiting a search is `C-s M-s w' or `C-s M-s M-w'. > This question (incremental word search) comes up again and again - it came > up again yesterday on help-gnu-emacs. We've at least documented the > mysterious `C-s M-e C-w ... C-s' incantation now. I agree with you that it's > time we gave this a proper (simple) binding. A year ago I proposed the following isearch keybindings: (define-key isearch-mode-map "\M-sw" 'isearch-toggle-word) (define-key isearch-mode-map "\M-s\C-y" 'isearch-yank-kill) (define-key isearch-mode-map "\M-se" 'isearch-edit-string) (define-key isearch-mode-map "\M-sr" 'isearch-toggle-regexp) (define-key isearch-mode-map "\M-sc" 'isearch-toggle-case-fold) and Richard replied: Using M-s as a prefix within Isearch is ok, because it isn't used much with other meanings. So it would be ok for many such commands. However, it would not be ok as a replacement for M-y, because a two-char sequence would be too inconvenient for that job. So we should not expect to move ALL special isearch commands onto the M-s prefix. But we could move most of them. -- Juri Linkov http://www.jurta.org/emacs/