Subject: Re: bug#36871: 26.1; I-search-toggle-csse-fold

From: Juri Linkov <[email-masked]>
Date: Sun, 04 Aug 2019 00:05:41 +0300

> I think throwing an error in this case makes sense (I tried also just
> avoiding the call to isearch-update when isearch-mode is nil which
> does avoid the OP's problem, but the actual toggling part doesn't work).

Shouldn't toggling commands activate isearch-mode?
I mean in a way like how isearch-forward calls isearch-mode.

Maybe after activation also to repeat the last isearch
(like what isearch-repeat does when isearch-string is empty,
it uses isearch-last-case-fold-search), but I'm not so sure
about this part.