GNU bug report logs - #21278
char-fold isearch: space and newline

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Mon, 17 Aug 2015 05:05:03 UTC

Severity: minor

Found in version 25.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: rms <at> gnu.org
Cc: 21278 <at> debbugs.gnu.org
Subject: bug#21278: 25.0.50; char-fold search is a screw, and I can't see how to disable
Date: Tue, 18 Aug 2015 22:48:20 +0100
2015-08-17 6:04 GMT+01:00 Richard Stallman <rms <at> gnu.org>:
>
> It is a screw that char-fold isearch treats space and NL as equivalent.
> They do not look alike.  Please disconnect them.

As of 2 weeks ago, it doesn't. You can verify that by running
(character-fold-to-regexp " ")
The regexp it returns doesn't contain newline chars.

isearch-lax-whitespace does treat space as NL, so maybe that's what
you're seeing.
I believe there's a bug in `isearch-search-fun-default' where even if
you disable `isearch-lax-whitespace', isearch sometimes uses
lax-whitespace anyway.

I would have fixed this myself, but I don't quite understand what that
code is trying to do and last time I asked for help nobody answered.




This bug report was last modified 3 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.