all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Bastian Beischer <bastian.beischer@rwth-aachen.de>
Cc: 23629@debbugs.gnu.org, tino.calancha@gmail.com
Subject: 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	[thread overview]
Message-ID: <877f616gfm.fsf@gmail.com> (raw)
In-Reply-To: <874m9j21is.fsf@gmail.com> (Bastian Beischer's message of "Fri, 27 May 2016 13:17:31 +0200")

Bastian Beischer <bastian.beischer@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'.





  parent reply	other threads:[~2017-01-11 10:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-27 11:17 bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Bastian Beischer
2016-06-13  7:40 ` Bastian Beischer
2020-08-11 15:07   ` Lars Ingebrigtsen
2020-08-11 15:55     ` Eli Zaretskii
2020-08-11 16:45       ` Lars Ingebrigtsen
2020-08-12 16:04         ` Bastian Beischer
2017-01-11 10:26 ` Tino Calancha [this message]
2017-01-11 13:06   ` Bastian Beischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877f616gfm.fsf@gmail.com \
    --to=tino.calancha@gmail.com \
    --cc=23629@debbugs.gnu.org \
    --cc=bastian.beischer@rwth-aachen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.