Subject: 24.0.50; Mouse-2 behavior inconsistant in ansi-term mode

From: Matthieu Moy <[email-masked]>
Date: Wed, 11 Aug 2010 17:23:40 +0200

Hi,

In most buffers, mouse-2 now pastes the content of the X primary
selection. In ansi-term buffers, where mouse-2 is bound to
term-mouse-paste, it pastes the content of the kill ring instead.

This is very confusing, since it means that a click on the same button
of the mouse will paste different result in different buffers.

It also means the usual "select to copy, middle-click to paste"
behavior usual to unix users doesn't work as it is in term mode.

Steps to reproduce:

emacs -Q
M-x ansi-term RET RET
kill a piece of text (C-k or so)
select a piece of text
mouse-2 in ansi-term buffer
mouse-2 in any other buffer

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/