look at this simple procedure:
(defun test ()
(interactive)
(push-mark)
(setq mark-active t)
(search-forward "a" nil nil 1))
It moves cursor to the nearest ‘a’,and highlight the path.Of course,It’s obvious.
But it behaves differently depending on what’s your next input after this procedure’s execution,For example,you input a char,like ‘b’,or \C-g,the highlight disappeared,but if you input \C-f,or \C-e,the highlight keeps. So Here is my question: what makes these input behave differently?
From the Emacs manual: