[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem with whitespaces in search
From: |
Ludwig, Mark |
Subject: |
RE: Problem with whitespaces in search |
Date: |
Thu, 28 Jan 2016 14:46:09 +0000 |
> From: tomas@tuxteam.de, Thursday, January 28, 2016 7:49 AM
>
> 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
I'm running Emacs 24.2.1, with the same behavior.
I don't see any variable with any similar name.
I've tried Apropos both "isearch" and "whitespace" and don't see anything.
Thanks,
Mark