radian-software/ctrlf

Search breaks when entering a hideshow's hidden overlay

IrrenWirr opened this issue · 1 comments

Works well until the search enter a hidden zone made by hs-minor-mode.
Then Ctrlf throws an error and becomes unresponsive to further action.

Works as expected:
works-as-intended

Breaks:
error-and-Ctrfl-becomes-unresponsive

The error is triggered by the inappropriate funcall of the function stored in the overlay propriety isearch-open-invisible-temporary.
This mismanaged function is defined as :

(defun hs-isearch-show-temporary (ov hide-p) ...)

Thanks for reporting this and contributing the fix!