From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Need help with emacs clipboard. Date: Sun, 25 Jan 2015 22:53:56 +0000 Message-ID: <877fwah3p7.fsf@robertthorpeconsulting.com> References: <20150113212722522787447@bob.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422226457 18247 80.91.229.3 (25 Jan 2015 22:54:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2015 22:54:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, cplum984@gmail.com To: Bob Proulx , cplum984@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 23:54:17 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YFW4O-0004bh-DB for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 23:54:16 +0100 Original-Received: from localhost ([::1]:39231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFW4N-0008Kw-Jh for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 17:54:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFW4A-0008Fq-SW for help-gnu-emacs@gnu.org; Sun, 25 Jan 2015 17:54:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFW47-0002Xa-NX for help-gnu-emacs@gnu.org; Sun, 25 Jan 2015 17:54:02 -0500 Original-Received: from outbound-smtp03.blacknight.com ([81.17.249.16]:46317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFW47-0002X5-IE for help-gnu-emacs@gnu.org; Sun, 25 Jan 2015 17:53:59 -0500 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id EBDE398574 for ; Sun, 25 Jan 2015 22:53:57 +0000 (UTC) Original-Received: (qmail 14975 invoked from network); 25 Jan 2015 22:53:57 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.78.248.234]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 25 Jan 2015 22:53:57 -0000 In-Reply-To: <20150113212722522787447@bob.proulx.com> (message from Bob Proulx on Tue, 13 Jan 2015 21:46:51 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.16 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102261 Archived-At: Bob Proulx writes: ... > I see exactly the opposite behavior. Emacs by default uses the > clipboard for cut-and-paste. But on my system nothing else uses the > clipboard as Firefox and Chromium both use the X primary selection. I think you're misunderstanding how things have changed. The idea of introducing the clipboard into X was to make things more like Windows. The old x-selection behaviour is still supported though. This is how things work on my system (Xubuntu). If I mark something with the mouse in Firefox, Thunderbird or Libreoffice then it enters the x-selection. If I then press the middle mouse button in Emacs it's pasted into the Emacs buffer. That's the old x-selection behaviour in action. If I mark something *and then "copy" or "cut" it*, then it enters the clipboard. So, if I mark something and then press Ctrl-C in Libreoffice it enters the clipboard. Then I can press C-y in Emacs and it will yank. So, when you do the Ctrl-C in the other app the x-selection and the clipboard contain the same information. If I mark something different then the x-selection changes but the clipboard doesn't. This is actually useful because it means you can carry two independent bits of text from another app into Emacs without having to visit the app twice. Apparently Chromium's behaviour is buggy though, see: https://code.google.com/p/chromium/issues/detail?id=68886 BR, Robert Thorpe