unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: rms@gnu.org
Cc: 21278@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	[thread overview]
Message-ID: <CAAdUY-JfD_Gb150YKspjfsiYVZDJyfzVOwyfpa18XT1hhYeH-g@mail.gmail.com> (raw)
In-Reply-To: <E1ZRCae-0000jE-NB@fencepost.gnu.org>

2015-08-17 6:04 GMT+01:00 Richard Stallman <rms@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.





  reply	other threads:[~2015-08-18 21:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17  5:04 bug#21278: 25.0.50; char-fold search is a screw, and I can't see how to disable Richard Stallman
2015-08-18 21:48 ` Artur Malabarba [this message]
2015-08-19 22:20   ` Juri Linkov
2015-08-19 22:59     ` Artur Malabarba
2021-09-04  7:04 ` bug#21278: char-fold isearch: space and newline Lars Ingebrigtsen
2021-09-06  3:09   ` bug#21278: char-fold isearch: space and newline still broken Richard Stallman
2021-09-06  5:59     ` Eli Zaretskii
2021-09-07  3:17       ` Richard Stallman
2021-09-07  6:19         ` Eli Zaretskii
2021-09-07 12:36           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-09 17:32             ` Juri Linkov
2021-09-10 10:28               ` Lars Ingebrigtsen
2021-09-10 10:54                 ` Eli Zaretskii
2021-09-10 10:57                   ` Lars Ingebrigtsen
2021-09-10 11:56                     ` Augusto Stoffel
2021-09-10 13:17                       ` Kévin Le Gouguec
2021-09-11 12:12                       ` Lars Ingebrigtsen
2021-09-11 12:52                         ` Augusto Stoffel
2021-09-13  7:26                           ` Lars Ingebrigtsen
2021-09-06  8:32     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAdUY-JfD_Gb150YKspjfsiYVZDJyfzVOwyfpa18XT1hhYeH-g@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=21278@debbugs.gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).