From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: search-whitespace-regexp Date: Tue, 8 Feb 2005 09:01:49 +0900 Message-ID: References: <1982.220.255.95.17.1107526353.squirrel@220.255.95.17> <35379.203.116.59.24.1107655186.squirrel@203.116.59.24> <87pszdslu1.fsf-monnier+emacs@gnu.org> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107821773 6181 80.91.229.2 (8 Feb 2005 00:16:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2005 00:16:13 +0000 (UTC) Cc: cyd@stupidchicken.com, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 08 01:16:12 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CyJ1T-0002to-Fa for ged-emacs-devel@m.gmane.org; Tue, 08 Feb 2005 01:14:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyJFf-0004XC-9K for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2005 19:29:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyJD5-0003S0-4Z for emacs-devel@gnu.org; Mon, 07 Feb 2005 19:26:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyJCy-0003NE-IN for emacs-devel@gnu.org; Mon, 07 Feb 2005 19:26:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyJCw-0003AQ-8n for emacs-devel@gnu.org; Mon, 07 Feb 2005 19:26:22 -0500 Original-Received: from [64.233.184.203] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CyIpB-0001ek-WB for emacs-devel@gnu.org; Mon, 07 Feb 2005 19:01:50 -0500 Original-Received: by wproxy.gmail.com with SMTP id 36so4339wri for ; Mon, 07 Feb 2005 16:01:49 -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=PVXM/Sor+hZpJ7uG2vpYf6ik6SAolzpKf5+YFLegisbFmrf3bfyseCGteMHwl6jWyWK7MdzD3tsn1lEW4CrgWKWndQRa39dSnP7KHZxmXIbCom4KRDDp+Sr+vTEpDt+29gC7rrqqxJlZ9D2/lSur9xufsuGxO82VRLevGYXtrxs= Original-Received: by 10.54.17.6 with SMTP id 6mr10921wrq; Mon, 07 Feb 2005 16:01:49 -0800 (PST) Original-Received: by 10.54.19.70 with HTTP; Mon, 7 Feb 2005 16:01:49 -0800 (PST) Original-To: Stefan Monnier In-Reply-To: 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: main.gmane.org gmane.emacs.devel:33064 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33064 On Mon, 07 Feb 2005 16:07:44 -0500, Stefan Monnier wrote: > > AFAICT everybody is happy > > with the behavior where a space in the search text is interpreted as "any > > sequence of blank chars". > > > Do you mean, everyone would be happy if a space in string search text > > were interpreted that way? > > Yes. Especially if the regexp-search (in contrast) doesn't use such magic. > This way, you can easily turn off the magic (by using regexp-search) for > those rare cases where you really want to match "just one space". That seems bizarre. Using a regexp search would just mess things up more. Those cases where one wants a search to be exact are hardly going to be the ones where you just want to pop into regexp mode! [Not to mention, I suspect it will not be immediately obvious that searches are more fuzzy than intended.] Anyway, the statement that "everybody would be happy" is clearly wrong. -Miles -- Do not taunt Happy Fun Ball.