From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Searching for spaces Date: Tue, 13 May 2014 13:31:15 -0700 (PDT) Message-ID: References: <53711E2D.5010805@noaa.gov> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400013180 28444 80.91.229.3 (13 May 2014 20:33:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2014 20:33:00 +0000 (UTC) To: "B. T. Raven" , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 13 22:32:52 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WkJNa-0008SK-J4 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 May 2014 22:32:50 +0200 Original-Received: from localhost ([::1]:47693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkJNa-0001BD-5i for geh-help-gnu-emacs@m.gmane.org; Tue, 13 May 2014 16:32:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkJMG-0007ut-CY for help-gnu-emacs@gnu.org; Tue, 13 May 2014 16:31:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkJM7-0006g9-Mi for help-gnu-emacs@gnu.org; Tue, 13 May 2014 16:31:28 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:20801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkJM7-0006fF-Ft for help-gnu-emacs@gnu.org; Tue, 13 May 2014 16:31:19 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s4DKVG4h031866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 May 2014 20:31:17 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4DKVFE0006378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 13 May 2014 20:31:16 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4DKVF2C006353; Tue, 13 May 2014 20:31:15 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97632 Archived-At: > >> C-x-(, C-s----- > >> > >> The above would locate each instance of 5 consecutive spaces. > >> This is no longer the case. How can I get the old behavior back? > > > > M-x customize-option isearch-lax-whitespace > > M-x customize-option isearch-regexp-lax-whitespace >=20 > Drew: Are these built in? I don't find them on 24.3 w64 Yes, in isearch.el, for Emacs 24.3. But I was wrong about them being user options. They are defvars, so you could use defvar or setq to change their values. But it is generally better to use command `isearch-toggle-lax-whitespace', which is bound to `M-s SPC' during Isearch. =20 You can, however, set those variables in your init file the way you want them to be at the outset. (And you can customize option `search-whitespace-regexp'.)