From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don provan Newsgroups: gmane.emacs.help Subject: Re: emacs 22 - regular-expression isearch on spaces extremely lenient Date: Sat, 29 Apr 2006 08:16:42 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146325308 31458 80.91.229.2 (29 Apr 2006 15:41:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Apr 2006 15:41:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 29 17:41:45 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FZrZo-0003f3-1M for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Apr 2006 17:41:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZrZn-0004KP-JR for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Apr 2006 11:41:43 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 29 Apr 2006 10:16:38 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:N+NpqrOc17Itn25P4BfmXxX4VV0= Original-Lines: 21 Original-NNTP-Posting-Host: 67.160.236.193 Original-X-Trace: sv3-m7PqFXmwMDVewI0e2XyTNru+kzedjHYN5XqpsTGyDkjDnfX7/n7/juYIxMZOM/DEXlbFaIi4/S0Jcgv!fxKGybGUS9xxApvFKZ3DN6kTFObsNzG3gcauv8tvHZOUq9pmNFf3PPR/h9EdcYPbog== Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:139095 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34716 Archived-At: "Drew Adams" writes: > (setq search-whitespace-regexp nil) will turn this off. When this is nil, > each space you type matches literally, against one space. Thanks! This always annoyed me, but I've never seen a mention of the control variable to turn it off. > If non-nil, regular expression to match a sequence of whitespace chars. > This applies to regular expression incremental search. I think the biggest problem with it is the inconsistency between incremental search and elisp regexp searches. Literally just yesterday I had to debug a problem caused because my practice regexp at the command line did what I wanted with a space, but when I used the same string in a functional search, it didn't. I've seen the documentation for this feature, but wherever it was, it wasn't clear to me until now that it was specific to incremental regexp searches rather than a general feature of all regexp searches. -don