emacs-devel
[Top][All Lists]
Advanced

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

Re: `character-fold-search' should be a user option, like `case-fold-sea


From: Juri Linkov
Subject: Re: `character-fold-search' should be a user option, like `case-fold-search'
Date: Thu, 03 Sep 2015 01:50:51 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu)

>> Like with ‘case-fold-search’ and ‘isearch-case-fold-search’ we could
>> make ‘char-fold-search’ customizable
>
> Yes.
>
>> and ‘isearch-char-fold-search’ togglable
>
> I'm not sure I understand. Character folding is already toggleable
> during isearch.
> Do you mean we specifically need a variable called
> isearch-char-fold-search? isearch-case-fold-search is an internal
> variable, not a user option, so I don't think there needs to be a
> char-fold analogue.

I thought ‘isearch-char-fold-search’ might be useful as an internal
variable to propagate its value to ‘isearch-occur’ (to check it and
not display a gibberish regexp in the *Occur* header).  But maybe
after renaming ‘isearch-word’ to a more suitable name like
‘isearch-regexp-based’ it could be used for the same purpose.



reply via email to

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