all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Crawford, Christopher" <cbcraw2@g.uky.edu>
Cc: 41519@debbugs.gnu.org
Subject: bug#41519: 26.3; transient-mark-mode + WSL + vcxsrv clobbers clipboard
Date: Mon, 25 May 2020 17:36:09 +0300	[thread overview]
Message-ID: <83blmcw086.fsf@gnu.org> (raw)
In-Reply-To: <CANzRthq_OuEZf5skgA1yuyg2AgXFrpiH8N7cDFatRi=ZHMspSA@mail.gmail.com> (cbcraw2@g.uky.edu)

> From: "Crawford, Christopher" <cbcraw2@g.uky.edu>
> Date: Sun, 24 May 2020 23:54:44 -0400
> 
> In a fresh 'emacs -q',
> whenever I highlight text with the mouse, or S-<right>, or C-spc <right?, etc, emacs copies the text into the
> Windows clipboard, and I can't disable it.  This means that I cannot highlight text in Emacs and replace it
> with text previously copied from a Windows program.  I'm running on Ubuntu 18.04 on WSL using VcXsrv. 

I don't think this is an Emacs bug.  Emacs puts the selected text into
the X selection; I'm guessing that some WSL agent then copies that
selection into the Windows clipboard.  This doesn't happen when
running on Windows natively.

> I've tried every combination of
>   transient-mark-mode
>   shift-selection-mode
>   save-interprogram-paste-before-kill
> with no success.
> If I disable  select-enable-clipboard , it won't paste from the clipboard,
> and setting  select-enable-primary  also doesn't seem to matter.

Did you try setting select-active-regions to nil?





  reply	other threads:[~2020-05-25 14:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25  3:54 bug#41519: 26.3; transient-mark-mode + WSL + vcxsrv clobbers clipboard Crawford, Christopher
2020-05-25 14:36 ` Eli Zaretskii [this message]
2020-05-25 21:49   ` Crawford, Christopher
2020-05-26  2:24     ` Eli Zaretskii
2020-05-26  6:28       ` Crawford, Christopher
2020-05-26 15:15         ` Eli Zaretskii

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=83blmcw086.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=41519@debbugs.gnu.org \
    --cc=cbcraw2@g.uky.edu \
    /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.