GNU bug report logs - #6845
24.0.50; Mouse-2 behavior inconsistant in ansi-term mode

Previous Next

Package: emacs;

Reported by: Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>

Date: Wed, 11 Aug 2010 15:24:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6845 in the body.
You can then email your comments to 6845 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6845; Package emacs. (Wed, 11 Aug 2010 15:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 11 Aug 2010 15:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; Mouse-2 behavior inconsistant in ansi-term mode
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/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6845; Package emacs. (Sun, 21 Aug 2011 18:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 6845 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr>
Cc: Dan Nicolaescu <dann <at> ics.uci.edu>, 6845 <at> debbugs.gnu.org
Subject: Re: bug#6845: 24.0.50; Mouse-2 behavior inconsistant in ansi-term mode
Date: Sun, 21 Aug 2011 13:57:29 -0400
Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr> writes:

> 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.

This sounds like a problem indeed.  I changed term-mouse-paste to yank
the primary selection.




bug closed, send any further explanations to 6845 <at> debbugs.gnu.org and Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sun, 21 Aug 2011 18:00:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 19 Sep 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.