- I wonder if I can disable the 'failing overwrapped' warning in the minibuffer and directly wrap around instead if I do a search?
Does anyone know how to facilitate this?
Also there is a slight delay in highlighting occurrences of the search-for expression, can I decrease this as well?
Finally, how can I invoke custom function upon a key combination, only if Isearch is active?
Specifically, I want to invoke
(defun contrib/isearchp-remove-failed-part-or-last-char () "Remove failed part of search string, or last char if successful. Do nothing if search string is empty to start with." (interactive) (if (equal isearch-string "") (isearch-update) (if isearch-success (isearch-delete-char) (while (isearch-fail-pos) (isearch-pop-state))) (isearch-update)))
if I hit
<backspace> during Isearch.