isearch: being flexible about whether emacs mode is on or not