From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: word search (Re: isearch in Dired) Date: Tue, 29 Jul 2008 13:22:47 -0400 Message-ID: <87zlo0oba0.fsf@stupidchicken.com> References: <874pjaiv45.fsf@gmail.com> <87lkclekep.fsf@jurta.org> <87r69k2vcw.fsf_-_@jurta.org> <87abg6ajlr.fsf@jurta.org> <48892105.7000504@gmail.com> <87abg0ohx6.fsf_-_@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217352140 1144 80.91.229.12 (29 Jul 2008 17:22:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2008 17:22:20 +0000 (UTC) Cc: "Lennart Borgman \(gmail\)" , Stefan Monnier , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 29 19:23:10 2008 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 1KNsuZ-0000MN-JC for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2008 19:22:59 +0200 Original-Received: from localhost ([127.0.0.1]:43813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNstf-0006nE-5o for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2008 13:22:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNssm-0006Mk-M3 for emacs-devel@gnu.org; Tue, 29 Jul 2008 13:21:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNssm-0006MN-8M for emacs-devel@gnu.org; Tue, 29 Jul 2008 13:21:08 -0400 Original-Received: from [199.232.76.173] (port=33926 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNssm-0006MC-00 for emacs-devel@gnu.org; Tue, 29 Jul 2008 13:21:08 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:57589 helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNssl-0005Us-MP for emacs-devel@gnu.org; Tue, 29 Jul 2008 13:21:07 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 0C4AE57E333; Tue, 29 Jul 2008 13:22:47 -0400 (EDT) In-Reply-To: <87abg0ohx6.fsf_-_@jurta.org> (Juri Linkov's message of "Tue, 29 Jul 2008 18:44:17 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:101701 Archived-At: Juri Linkov writes: > When you want to switch to the regexp search then the most natural key > is "r". When you want to switch to the word search then the most natural > key is "w". Currently I see no alternative common key whose mnemonics > would be obvious. So to toggle to the regexp or word search and back > to the non-regexp non-word search could be done using either of two keys > `M-s r' or `M-s w'. It seems there is no problem with this. In this > case, the following patch looks like a satisfactory solution. It also > binds `M-s w' globally to start word isearch. Looks OK to me. Please check it in ASAP, and don't forget to write a NEWS entry, and to document the keybinding in the docstring of `isearch'. Something that might be good to work on, after the release, is a better help facility for C-s, to allow the user to remind himself what the isearch key bindings are. The current `C-s C-h ? [bmk]' menus aren't very easy to read.