From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.help Subject: Re: Why has X11 system clipboard interoperability changed from Emacs 24 to 25? Date: Thu, 17 Aug 2017 13:15:06 -0400 Message-ID: <354lt6nmjp.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502990148 8985 195.159.176.226 (17 Aug 2017 17:15:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2017 17:15:48 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: help-gnu-emacs List To: itchybeard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 17 19:15:38 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diOOP-0001Wq-6c for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 19:15:37 +0200 Original-Received: from localhost ([::1]:36176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diOOR-0003ir-4w for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 13:15:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diONz-0003iL-Qq for help-gnu-emacs@gnu.org; Thu, 17 Aug 2017 13:15:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diONy-00048l-QB for help-gnu-emacs@gnu.org; Thu, 17 Aug 2017 13:15:11 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diONv-000456-G4; Thu, 17 Aug 2017 13:15:07 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1diONu-0004bg-U9; Thu, 17 Aug 2017 13:15:07 -0400 X-Spook: top secret Ft. Knox Fort Hancock Domestic security Ft. X-Ran: Yx9wfG6[!K98\55g.$^ylqRYXTm.&kldI|NL>6r5\edq!QoyVB%@.DJGE;l19W,?uyF0Q? X-Hue: red X-Attribution: GM In-Reply-To: (itchybeard@protonmail.com's message of "Thu, 17 Aug 2017 02:42:30 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114072 Archived-At: 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.