From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: "Match whole word only" "Match case" Date: Sun, 13 Mar 2005 15:07:05 +0900 Message-ID: References: <20050311.162056.18390800.Takaaki.Ota@am.sony.com> <87zmx8dwtl.fsf@jurta.org> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110696147 26076 80.91.229.2 (13 Mar 2005 06:42:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2005 06:42:27 +0000 (UTC) Cc: Tak Ota , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 13 07:42:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DAMnt-0001Eo-Hv for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2005 07:42:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAN3J-0007XM-LM for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2005 01:58:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DAN2G-0007Fy-JB for emacs-devel@gnu.org; Sun, 13 Mar 2005 01:57:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DAMwz-0005tJ-UN for emacs-devel@gnu.org; Sun, 13 Mar 2005 01:51:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAMwt-0005id-IB for emacs-devel@gnu.org; Sun, 13 Mar 2005 01:51:39 -0500 Original-Received: from [64.233.184.196] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DAMFl-0007zf-K4 for emacs-devel@gnu.org; Sun, 13 Mar 2005 01:07:05 -0500 Original-Received: by wproxy.gmail.com with SMTP id 40so773592wri for ; Sat, 12 Mar 2005 22:07:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Z/gILcyRYWN1KmL/TAfuYDU18qWtKPy2KnMuXLtWKBwFgiguZbmaXfNUvweGV5R+8LkUNy6+cNZ6uCZa4WiQIn/WknRH2j5OORpI6EvDO6pHbpRCmuBHjjCgtgB2fCYhEj8HHLQWqywpFfY6EzVgO6551jJL7MgjqKXQGW16MVQ= Original-Received: by 10.54.17.71 with SMTP id 71mr33800wrq; Sat, 12 Mar 2005 22:07:05 -0800 (PST) Original-Received: by 10.54.19.70 with HTTP; Sat, 12 Mar 2005 22:07:05 -0800 (PST) Original-To: Juri Linkov In-Reply-To: <87zmx8dwtl.fsf@jurta.org> 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34535 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34535 On Sun, 13 Mar 2005 04:05:02 +0200, Juri Linkov wrote: > Also note that > word search and replace are not very useful. In source code they often > don't work as intended. What is more useful are not \b delimiters, > but \_< and \_> to match symbols instead of words. Maybe in theory, but in practice I find that a simple word-query-replace is quite useful in source code, as it's often "close enough", and it's easier to type than the regexp version with \_< etc. -Miles -- Do not taunt Happy Fun Ball.