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: Eli Zaretskii
Subject: Re: ASCII-folded search [was: Re: Upcoming loss of usability ...]
Date: Tue, 23 Jun 2015 20:33:14 +0300

> Date: Tue, 23 Jun 2015 18:20:41 +0100
> From: Artur Malabarba <address@hidden>
> Cc: emacs-devel <address@hidden>, Stefan Monnier <address@hidden>, 
>       Stephen Turnbull <address@hidden>
> 
> For instance, to get this character folding behavior with
> `search-forward', instead of writing
>     (search-forward STRING)
> I would instead write (conditional on a variable being non-nil)
>     (search-forward-regexp (isearch--character-folded-regexp STRING))
> 
> But I can't do that directly inside search-forward, because that's a c
> function. So it needs to be done in the functions that call
> search-forward. I was aware of isearch and query-replace, but there's
> no reason it won't work on others.

I think it would be good to have that in all the search commands that
search for fixed strings.  But that could be added as separate
commits.



reply via email to

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