unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: itchybeard <itchybeard@protonmail.com>
Cc: help-gnu-emacs List <help-gnu-emacs@gnu.org>
Subject: Re: Why has X11 system clipboard interoperability changed from Emacs 24 to 25?
Date: Thu, 17 Aug 2017 13:15:06 -0400	[thread overview]
Message-ID: <354lt6nmjp.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <LOlRkuORZMtsuLRhU6N8dBghk3aNW9ro-LTeI9NiInEcE5ivGRkXfDUO7Xc_eyjw1pxrLslEHHVWesJXsdcx_rDQPcNRZqkkGOZK9X4ApRA=@protonmail.com> (itchybeard@protonmail.com's message of "Thu, 17 Aug 2017 02:42:30 -0400")

itchybeard wrote:

> In the Emacs 24 GUI for X11-based desktops I can set
> `'(x-select-enable-clipboard nil)` in my config to prevent standard
> kill ring commands like `yank`, `kill-region`, and `kill-ring-save`
> from affecting the X11 system clipboard, and it still allows me to
> explicitly interoperate with that clipboard by invoking the commands
> `clipboard-yank`, `clipboard-kill-region`, and
> `clipboard-kill-ring-save`.
>
> But in Emacs 25 the variable `x-select-enable-clipboard` is replaced
> by `select-enable-clipboard` which when set to `nil` in my config
> yields different results: *all* interoperability with the X11 system
> clipboard is disabled. Even the commands `clipboard-yank`,
> `clipboard-kill-region`, and `clipboard-kill-ring-save` revert to
> using Emacs' kill ring exclusively, in fact they have identical
> effects to using plain `yank`, `kill-region`, and `kill-ring-save`, so
> what's their purpose when `select-enable-clipboard` is set to `nil`?

You did not say exactly what version of Emacs you are using.
If 25.1, this sounds like https://debbugs.gnu.org/25145, fixed in 25.2.



  parent reply	other threads:[~2017-08-17 17:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17  6:42 Why has X11 system clipboard interoperability changed from Emacs 24 to 25? itchybeard
2017-08-17 14:30 ` Eli Zaretskii
2017-08-17 17:15 ` Glenn Morris [this message]
2017-08-18  1:25   ` itchybeard
2017-08-18  3:03   ` itchybeard

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=354lt6nmjp.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=itchybeard@protonmail.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.
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).