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 #14 received at 23629 <at> debbugs.gnu.org (full text, mbox):

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

On Wed, Jan 11, 2017 at 11:26 AM, Tino Calancha <tino.calancha <at> gmail.com> wrote:
>
> 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'.

I didn't check whether this works as you describe in calc, but I don't
want to set "select-enable-clipboard" to "nil". I'm using it to move
things in and out of the clipboard in other buffers.

Thanks for your comment, though :-)

Cheers
Bastian




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.