From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: word search (Re: isearch in Dired) Date: Thu, 31 Jul 2008 11:24:39 -0400 Message-ID: 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> <87myjz8ggy.fsf@jurta.org> <878wvicjtk.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 1217517912 9020 80.91.229.12 (31 Jul 2008 15:25:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2008 15:25:12 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 31 17:26:02 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 1KOa2P-0004Xi-6K for ged-emacs-devel@m.gmane.org; Thu, 31 Jul 2008 17:25:57 +0200 Original-Received: from localhost ([127.0.0.1]:42668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOa1U-0003NB-Ea for ged-emacs-devel@m.gmane.org; Thu, 31 Jul 2008 11:25:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOa1E-00037M-Sd for emacs-devel@gnu.org; Thu, 31 Jul 2008 11:24:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOa1C-00033M-B9 for emacs-devel@gnu.org; Thu, 31 Jul 2008 11:24:44 -0400 Original-Received: from [199.232.76.173] (port=42608 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOa1C-000338-12 for emacs-devel@gnu.org; Thu, 31 Jul 2008 11:24:42 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:54874) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOa1B-0006Ul-ST for emacs-devel@gnu.org; Thu, 31 Jul 2008 11:24:42 -0400 Original-Received: from alfajor.home (vpn-132-204-232-29.acd.umontreal.ca [132.204.232.29]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m6VFP5gw013500; Thu, 31 Jul 2008 11:25:05 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id A9F261C175; Thu, 31 Jul 2008 11:24:39 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Thu, 31 Jul 2008 10:10:48 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3071=0 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:101802 Archived-At: > So I suggest we change isearch to not use word-search-forward but use > its own implementation of it that > only adds a trailing \b if the last char of the pattern is a word constituent. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't add a trailing \b. Stefan