From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#21148: 25.0.50; Huge problems with case-insensitive search Date: Wed, 29 Jul 2015 00:15:36 +0100 Message-ID: References: <86pp3chdsh.fsf@example.com> <86lhe0fl20.fsf@example.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1438125381 20563 80.91.229.3 (28 Jul 2015 23:16:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2015 23:16:21 +0000 (UTC) To: 21148-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 29 01:16:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZKE6X-0002rG-B3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Jul 2015 01:16:13 +0200 Original-Received: from localhost ([::1]:32800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKE6V-0002Du-Ks for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 19:16:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKE6R-0002Dl-Cn for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2015 19:16:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKE6M-0006hw-IJ for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2015 19:16:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKE6M-0006hs-EP for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2015 19:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZKE6M-0006cI-4Z for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2015 19:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jul 2015 23:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21148 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 21148-done@debbugs.gnu.org id=D21148.143812534125390 (code D ref 21148); Tue, 28 Jul 2015 23:16:02 +0000 Original-Received: (at 21148-done) by debbugs.gnu.org; 28 Jul 2015 23:15:41 +0000 Original-Received: from localhost ([127.0.0.1]:33068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKE60-0006bR-KT for submit@debbugs.gnu.org; Tue, 28 Jul 2015 19:15:40 -0400 Original-Received: from mail-lb0-f173.google.com ([209.85.217.173]:34971) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKE5x-0006bI-Mf for 21148-done@debbugs.gnu.org; Tue, 28 Jul 2015 19:15:38 -0400 Original-Received: by lblf12 with SMTP id f12so84692326lbl.2 for <21148-done@debbugs.gnu.org>; Tue, 28 Jul 2015 16:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=wPT2YLMzyqx/7GIPo07/YJmHs/x7ixX9fxcaPVPDc44=; b=I/MDRE7i73ozWosw+yF0K7l1xsHNqHwi9kjcJYdoZzaGy01lrk0lxOhO0/CuesssVa n1isHA+umJp7RJ+Sewz18n1nujeTmwBUt9LjG+xBAF2JjZq7GdsfUoNCfYpbIqk6vWNg vCgzRz3R1wvcIBH+VyCjT/z1P8oKBl7FGcyM4TyLDyjodhv8/fq2+26JyT+yeM7xCBMa GpnqRQKQgr7meWTofVMjQEhfyjLRVIuj7KxR6AMPgtYzP02dYEuxUDiRY963wr6nzqjy itKcYBlXo7tLIq0J21R8MuiE/R0GofUuvl51W5M9uyEXaxwvOGiRC8JAFaDfMhNzaZgl QqRQ== X-Received: by 10.152.4.163 with SMTP id l3mr36160504lal.35.1438125336905; Tue, 28 Jul 2015 16:15:36 -0700 (PDT) Original-Received: by 10.25.134.139 with HTTP; Tue, 28 Jul 2015 16:15:36 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: s4wBcv_-zexdOKAtw3c3WvLOKI0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105208 Archived-At: 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.