>
Can you think of any reason why you might have started your search in> one buffer and ended it in another?
I hit C-' by mistake inbetween an isearch while in an org file and that called `org-cycle-agenda-files` and switched to a different org file while the search was active.
I tried doing
- C-s
- search something that fails search / search something that has search hits
- C-' (switch to a different org file)
- C-g
But that issue did not occur this time; isearch quit gracefully.
> what kind of advice do you have on
> call-interactively (in case it might interact in odd ways and ends up> changing the current buffer, for example)?
Doing ag showed me that the ido-ubiquitous.el is advising that:
(defadvice call-interactively (around ido-ubiquitous activate)
"Implements the behavior specified in `ido-ubiquitous-command-overrides'."
(let* ((cmd (ad-get-arg 0))
(override (ido-ubiquitous-get-command-override cmd)))
(when override
(ido-ubiquitous--debug-message "Using override `%s' for command `%s'"
override cmd))
(ido-ubiquitous-with-override override
ad-do-it)))
I don't understand what it's doing in this advice though.