From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: Dima Kogan <dima@secretsauce.net>, 21164@debbugs.gnu.org
Subject: bug#21164: 25.0.50; char-fold search broken for multi-line searches (sometimes)
Date: Wed, 5 Aug 2015 18:20:39 +0100 [thread overview]
Message-ID: <CAAdUY-JnYUaYhyUgeAS8b3dbZ2HXZULkjnMA+4Fz4HHTZgZ_hg@mail.gmail.com> (raw)
In-Reply-To: <87twshqv9s.fsf@mail.linkov.net>
> Thank you for the bug report. This can be fixed by a small patch:
>
> diff --git a/lisp/character-fold.el b/lisp/character-fold.el
> index bf5ae59..db77845 100644
> --- a/lisp/character-fold.el
> +++ b/lisp/character-fold.el
> @@ -123,7 +123,7 @@ (defun character-fold-to-regexp (string &optional lax)
> (apply #'concat
> (mapcar (lambda (c) (let ((out (or (aref character-fold-table c)
> (regexp-quote (string c)))))
> - (if (and lax (memq c '(?\s ?\t ?\r ?\n )))
> + (if (memq c '(?\s ?\t ?\r ?\n ))
Before applying this, I'd like to figure out why lax is nil here.
IIUC, it is supposed to be t whenever isearch-lax-whitespace is
non-nil.
When I test use-case in the bug report I get that this function is
immediately invoked 3 times. And lax is t in the first, but nil in the
following two.
next prev parent reply other threads:[~2015-08-05 17:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 4:06 bug#21164: 25.0.50; char-fold search broken for multi-line searches (sometimes) Dima Kogan
2015-08-02 20:40 ` Juri Linkov
2015-08-05 17:20 ` Artur Malabarba [this message]
2015-08-05 18:16 ` Artur Malabarba
2015-08-05 18:16 ` Artur Malabarba
2015-08-05 18:36 ` Drew Adams
2015-08-05 19:35 ` Artur Malabarba
2015-08-09 9:00 ` Artur Malabarba
2015-08-13 22:46 ` Dima Kogan
2015-08-14 16:39 ` Artur Malabarba
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAdUY-JnYUaYhyUgeAS8b3dbZ2HXZULkjnMA+4Fz4HHTZgZ_hg@mail.gmail.com \
--to=bruce.connor.am@gmail.com \
--cc=21164@debbugs.gnu.org \
--cc=dima@secretsauce.net \
--cc=juri@linkov.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.