[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
Re: `character-fold-search' should be a user option, like `case-fold-search'
Thu, 03 Sep 2015 01:50:51 +0300
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
>> 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.