help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with whitespaces in search


From: tomas
Subject: Re: Problem with whitespaces in search
Date: Thu, 28 Jan 2016 14:48:54 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jan 28, 2016 at 11:16:34AM +0100, Philippe Delavalade wrote:
> Hi.
> 
> I have just noticed a problem when searching whitespaces. I'm using version
> 24.3.1 under linux/slackware 14.1.
> 
> For instance, with a file containing the unique line
> 
> abcd  fghix   jklmxx    nopqxxx
> 
> and with the cursor on column 0, when searching whitespaces (incremental or
> not), the cursor comes under the 'f' which is normal but it stays their
> even when typing many ' '.

In "incremental search" (I'm assuming from context you are using that), any
whitespace you enter will match a sequence of one or more whitespaces.

You can change this behaviour by setting the variable "isearch-lax-whitespace"
to nil (there is a command for that, "isearch-toggle-lax-whitespace").

Try M-x isearch-toggle-lax-whitespace to change that.

hth
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlaqHEYACgkQBcgs9XrR2kYVFQCfdENCnOpk7i/BtfTVOsYOflxv
8JsAnjD3xvFyO97XcNAInt5a21ulbJcm
=sVCc
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]