From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: search-whitespace-regexp Date: Sun, 06 Feb 2005 11:21:27 -0500 Message-ID: <87pszdslu1.fsf-monnier+emacs@gnu.org> References: <1982.220.255.95.17.1107526353.squirrel@220.255.95.17> <35379.203.116.59.24.1107655186.squirrel@203.116.59.24> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107708270 26826 80.91.229.2 (6 Feb 2005 16:44:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2005 16:44:30 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 06 17:44:29 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CxpWI-00071m-FN for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 17:44:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxpkF-0000KU-Qg for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 11:58:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cxpgi-0007Ot-27 for emacs-devel@gnu.org; Sun, 06 Feb 2005 11:55:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CxpgD-0007GB-QO for emacs-devel@gnu.org; Sun, 06 Feb 2005 11:55:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxpgD-0007Ar-NT for emacs-devel@gnu.org; Sun, 06 Feb 2005 11:54:37 -0500 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxpA8-00008U-Jd; Sun, 06 Feb 2005 11:21:28 -0500 Original-Received: from alfajor ([65.92.240.235]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050206162127.SYQQ1899.tomts13-srv.bellnexxia.net@alfajor>; Sun, 6 Feb 2005 11:21:27 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id DE11DD7311; Sun, 6 Feb 2005 11:21:27 -0500 (EST) Original-To: "Chong Yidong" In-Reply-To: <35379.203.116.59.24.1107655186.squirrel@203.116.59.24> (Chong Yidong's message of "Sat, 5 Feb 2005 20:59:46 -0500 (EST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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:32953 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32953 > In that case, I propose just changing string search, using a variable > search-whitespace, analogous to search-whitespace-regexp. This should > default to nil, so that the default behavior of string search is identical > to Emacs 21.3 and below. If the user customizes the value, he gets the > "magical space" behavior. Wait. That doesn't make any sense. I haven't seen *anyone* ask for plain search to treat spaces as "just one SPC char". AFAICT everybody is happy with the behavior where a space in the search text is interpreted as "any sequence of blank chars". The only discussion here is about removing the "magic space" from regexp-searches, not from plain searches. Or did I miss something? Stefan