unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: 21148-done@debbugs.gnu.org
Subject: bug#21148: 25.0.50; Huge problems with case-insensitive search
Date: Wed, 29 Jul 2015 00:15:36 +0100	[thread overview]
Message-ID: <CAAdUY-JC+FSdKcVKMZ7W8rMn9hc1-BGiEEnQMDkcV1x1eG+=7Q@mail.gmail.com> (raw)
In-Reply-To: <CAAdUY-+MVuUq5aPKDsWzRfDge10h8xd32KBm-7aKQZVeJ5us=A@mail.gmail.com>

Marking this as fixed, it has been reported to fuzzy-el:
https://github.com/auto-complete/fuzzy-el/issues/8

For future, the problem here is that there are some search packages
which set the `isearch-search-fun-function' to their own
(poorly-written) function. In this case (and on longlines-mode) the
issue is that the function does the following check:

(cond (isearch-word
          (if isearch-forward 'word-search-forward 'word-search-backward))
         ...)

This assumes that `isearch-word' only ever has a boolean meaning, but
it's been a while now that this variable can also hold a function.
That's how symbol-isearch is implemented, in fact.
The reason these problems weren't reported before, is that the default
value of isearch-word was still nil up until now, but enabling
char-fold by default changed the default value to a function.





      reply	other threads:[~2015-07-28 23:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28  8:44 bug#21148: 25.0.50; Huge problems with case-insensitive search Sebastien Vauban
2015-07-28 13:23 ` Artur Malabarba
     [not found] ` <mailman.7537.1438089852.904.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.7537.1438089852.904.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2015-07-28 13:50     ` Sebastien Vauban
2015-07-28 14:10       ` Artur Malabarba
2015-07-28 23:15         ` Artur Malabarba [this message]

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-JC+FSdKcVKMZ7W8rMn9hc1-BGiEEnQMDkcV1x1eG+=7Q@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=21148-done@debbugs.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).