From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Word search Date: Tue, 25 Mar 2008 07:12:18 -0700 Message-ID: <000001c88e82$3cb7a4a0$0600a8c0@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206454464 7997 80.91.229.12 (25 Mar 2008 14:14:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2008 14:14:24 +0000 (UTC) Cc: juri@jurta.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "=?iso-8859-1?Q?'Vincent_Bela=EFche'?=" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 25 15:14: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 1Je9vP-0007fX-9b for ged-emacs-devel@m.gmane.org; Tue, 25 Mar 2008 15:14:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Je9uo-0002Yd-1m for ged-emacs-devel@m.gmane.org; Tue, 25 Mar 2008 10:14:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Je9uj-0002Wy-PS for emacs-devel@gnu.org; Tue, 25 Mar 2008 10:14:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Je9uh-0002UQ-M8 for emacs-devel@gnu.org; Tue, 25 Mar 2008 10:14:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Je9uh-0002U8-Db for emacs-devel@gnu.org; Tue, 25 Mar 2008 10:14:07 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Je9ud-0004x0-DD; Tue, 25 Mar 2008 10:14:03 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m2PEE0mb022443; Tue, 25 Mar 2008 08:14:00 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m2OBfLls015268; Tue, 25 Mar 2008 08:13:59 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3624682171206454337; Tue, 25 Mar 2008 07:12:17 -0700 Original-Received: from dradamslap1 (/141.144.72.71) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 25 Mar 2008 07:12:17 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AciOUDGO3Vo+cqVGSpa0XWjO4+bIUAAMKW9w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE 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:93413 Archived-At: I fully agree with Juri's point that the current keys to enter word search is inconvenient, and I find the double meaning of C-w between usual editing and word search difficult (I would prefer to have a less easy to remember key to enter word search provided that that it does not overload the meaning of usual edition keys like C-w). C-s C-w is not word search in the sense that you write below. C-s C-w yanks characters or words into the search string, starting at the cursor position. FYI, unfortunately I was never able to have word search work properly. For instance, when I try word search in the *info* node "Word search" and I type "C-sC-w" then I type "the words" (all of these things without double quotes) and then I type "", I would expect to find the first occurrence at the end of first line of info node text which is : ---- excerpt from info node Word Search -------------- Word search searches for a sequence of words without regard to how the words are separated. More precisely, you type a string of many words, ---- end of excerpt ------------------------------------- I think what you want is incremental search for words. In vanilla Emacs you can get to it this way: `C-s M-e C-w' - this is mentioned in the Emacs manual node you cited, Word Search. Library isearch+.el binds the same thing to `C-s M-w', which is a bit easier to use. FYI, isearch+.el is here: http://www.emacswiki.org/cgi-bin/wiki/isearch%2b.el. It is described here: http://www.emacswiki.org/cgi-bin/wiki/IsearchPlus.