GNU bug report logs - #23629
25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard

Previous Next

Package: emacs;

Reported by: Bastian Beischer <bastian.beischer <at> rwth-aachen.de>

Date: Fri, 27 May 2016 11:18:01 UTC

Severity: normal

Tags: fixed, moreinfo, patch

Found in version 25.0.94

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Tino Calancha <tino.calancha <at> gmail.com>
To: Bastian Beischer <bastian.beischer <at> rwth-aachen.de>
Cc: 23629 <at> debbugs.gnu.org, tino.calancha <at> gmail.com
Subject: Re: bug#23629: 25.0.94;
 Calc: Yanking with mouse-2 does not use X primary selection/clipboard
Date: Wed, 11 Jan 2017 19:26:21 +0900
Bastian Beischer <bastian.beischer <at> rwth-aachen.de> writes:

> I have customized 'select-enable-primary' to 't' and I'm using it to
> paste the X primary selection with 'mouse-2' often. This invokes
> mouse-yank-primary and that works fine.
>
> It does not work well in calc, though. In calc mouse-2 is bound to
> calc-yank, which takes the thing to be yanked from the kill-ring.
> To reproduce:
>
> 1) emacs -Q
> 2) M-x calc
> 3) Select a number in some other X window (xterm for example) with the
>    mouse
> 4) Go back to emacs *calc* buffer and press mouse-2.
Hi Bastian,

In addition to customize select-enable-primary to t, as you do,
i also like to set select-enable-clipboard to nil.  Then, the kill-ring
uses the primary selection, i.e., `calc-yank' pastes the same text
as `mouse-yank-primary' or `yank'.




This bug report was last modified 4 years and 278 days ago.

Previous Next


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