emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASCII-folded search [was: Re: Upcoming loss of usability ...]


From: Artur Malabarba
Subject: Re: ASCII-folded search [was: Re: Upcoming loss of usability ...]
Date: Thu, 25 Jun 2015 02:56:17 +0100

> So the most important remaining problem is how to combine char-folding
> with ‘isearch-lax-whitespace’ and ‘search-whitespace-regexp’.
> It seems this will require duplicating some code between these two.

I took a shot at this on the last commit. `character-fold-to-regexp'
now takes a second argument (lax), when this is non-nil it appends a +
to the regexp generated from whitespace characters.
It doesn't take `search-whitespace-regexp' into consideration, but I
don't know if that would even make sense given that a character-folded
space is even more general (matches more characters) than what's
specified by `search-whitespace-regexp'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]