unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Bastian Beischer <bastian.beischer@rwth-aachen.de>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: 23629@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <CAK9AuB84KeOp61cQ0LyThSmFHFGcnr7_f8+ZcFr5u5N_u-NAkw@mail.gmail.com> (raw)
In-Reply-To: <877f616gfm.fsf@gmail.com>

Hey Tino,

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

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





      reply	other threads:[~2017-01-11 13:06 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
2017-01-11 13:06   ` Bastian Beischer [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAK9AuB84KeOp61cQ0LyThSmFHFGcnr7_f8+ZcFr5u5N_u-NAkw@mail.gmail.com \
    --to=bastian.beischer@rwth-aachen.de \
    --cc=23629@debbugs.gnu.org \
    --cc=tino.calancha@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).