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: word search (Re: isearch in Dired) Date: Wed, 30 Jul 2008 19:50:33 +0300 Organization: JURTA Message-ID: <87myjz8ggy.fsf@jurta.org> 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> <87zlo0oba0.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217437084 28638 80.91.229.12 (30 Jul 2008 16:58:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 16:58:04 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 30 18:58:53 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 1KOF0j-0002r7-6Q for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 18:58:49 +0200 Original-Received: from localhost ([127.0.0.1]:40929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOEzo-0004yw-Vb for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 12:57:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOEzk-0004y0-RQ for emacs-devel@gnu.org; Wed, 30 Jul 2008 12:57:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOEzi-0004vx-Pm for emacs-devel@gnu.org; Wed, 30 Jul 2008 12:57:47 -0400 Original-Received: from [199.232.76.173] (port=39460 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOEzi-0004vs-Lb for emacs-devel@gnu.org; Wed, 30 Jul 2008 12:57:46 -0400 Original-Received: from smtp-out.neti.ee ([194.126.126.37]:45580) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOEzi-0006rE-67 for emacs-devel@gnu.org; Wed, 30 Jul 2008 12:57:46 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by MXR-5.estpak.ee (Postfix) with ESMTP id B86ED1DE438; Wed, 30 Jul 2008 19:57:44 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at estpak.ee Original-Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (MXR-5.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hF3JUt5szzfW; Wed, 30 Jul 2008 19:57:41 +0300 (EEST) Original-Received: from Relayhost2.neti.ee (Relayhost2 [88.196.174.142]) by MXR-5.estpak.ee (Postfix) with ESMTP id AE9C91DF7AB; Wed, 30 Jul 2008 19:57:41 +0300 (EEST) Original-Received: from mail.estpak.ee (66.132.191.90.dyn.estpak.ee [90.191.132.66]) by Relayhost2.neti.ee (Postfix) with ESMTP id 8F8111FB173; Wed, 30 Jul 2008 19:57:41 +0300 (EEST) In-Reply-To: <87zlo0oba0.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 29 Jul 2008 13:22:47 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:101762 Archived-At: >> 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'. Done. > 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. BTW, I already half-finished a new help facility based on Info. It also provides a virtual Info file for `Info-apropos' that contains results of different invocations in separate virtual Info nodes. I afraid it's too late to include this to 23.1. -- Juri Linkov http://www.jurta.org/emacs/