[CBLX] [tomas@xxxxxxxxxx: Re: Problem with whitespaces in search]

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


Hello.

Je viens d'obtenir la solution sur la liste help-gnu-emacs et la fait
suivre (en espérant que ça fonctionne car je n'ai jamais fait ça).

-- 
Philippe
--- Begin Message ---
-----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-----


--- End Message ---


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/