When I search with C-s, I can paste a search term (copied outside of emacs frame) with either
mouse-2 click focused inside echoarea. In xemacs it is enough to
mouse-2 click inside the main buffer to get the yank happen inside the echoarea. In emacs I have to
mouse-2 click inside the tiny echoarea for this to work.
Is there a way to configure emacs to get
mouse-2 click in the main frame to replicate
M-y-functionality when isearch (C-s) is activated?
The only related custom configuration I have is:
;; paste where the mouse clicks (setq mouse-yank-at-point nil)
but it doesn't seem to have any impact on what I'm trying to accomplish here.
I suppose I need to get
mouse-2 to be re-bound to
isearch-yank-kill when in isearch, but I don't know how to do that.
And I read the explanation about echoarea not being a minibuffer, but I don't have enough emacs knowledge to do anything useful with it.