From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: emacs24 X primary selection changes Date: Fri, 4 Jan 2013 16:03:46 -0700 Message-ID: <20130104230346.GB14639@hysteria.proulx.com> References: <20130103225809.GC13649@hysteria.proulx.com> <2D113F6751EB4E7F8003DD556B818ED4@us.oracle.com> <20130104001257.GA32352@hysteria.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1357340635 2253 80.91.229.3 (4 Jan 2013 23:03:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2013 23:03:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 05 00:04:12 2013 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 1TrGJA-0000XJ-DH for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2013 00:04:12 +0100 Original-Received: from localhost ([::1]:41415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrGIv-0002ZV-3G for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Jan 2013 18:03:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrGIo-0002V8-CZ for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 18:03:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrGIn-0007Wb-1P for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 18:03:50 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:45096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrGIm-0007WE-Jl for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 18:03:48 -0500 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 0C868213D5 for ; Fri, 4 Jan 2013 16:03:47 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id E6AE42DCCA; Fri, 4 Jan 2013 16:03:46 -0700 (MST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.17.153.58 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:88447 Archived-At: Jason Rumney wrote: > Bob Proulx wrote: > > Because maybe Firefox and Chromium are both using the primary > > selection instead of the clipboard for compatibilty but if they were > > configured differently then perhaps it would work? Don't know. > > Firefox and Chromium are doing the same as what Emacs 24 now does by > default. > If you select something with the mouse, it becomes the primary > selection. Right. So Firefox and Chromium are using the primary selection by default. No change. Sounds good. > If you press C-c, or select Copy from the menu, then it > also gets put on the clipboard. Oh, so if you take the additional action after highlighting some text of typing in the keys C-c or the menu copy action then with that additional explicit action it goes to the clipboard instead of the primary selection. Or perhaps in addition to the primary selection because it went there first when it was highlighted. Gotcha! So if I had highlighted something and then added C-c to push it into the clipboard and then yanked that into emacs I would have seen the text in emacs. I would never have expected that! And I would have tried it if I had thought of it. But of course there isn't a way to cause that difference with a xterm which is where I mostly cut text from. So while that works with the X browsers it doesn't work with a text terminal. (I know that some text terminals add mouse menus that doing that would add a lot of mouse clicks and would be tedious to do very many very fast.) > If you want to insert the primary selection into the URL bar or a > text field on a form in Firefox or Chrome, you need to use the > mouse. Right. But that is long standing normal behavior. Drag mouse-1 and it copies text where it can then be pasted from. That is the way that it has always worked on X Windows. That is what everyone coming from an X Windows background expects. But the words of your response read as if that would be abnormal. But that isn't abnormal. It is normal. (I realize that people coming from an MS Windows background expects something different and that I am outnumbered by the huge number of the newcomers. But I still resist because the paradigm isn't as nice.) > If you use C-v, or Paste from the menu, then it will insert > from the clipboard. Gotcha. Keys use the clipboard in the new MS-Windows way to do things. > Actually cut buffers and the primary selection are not the same > thing. Cut buffers are an older method of transferring text between > applications, which have been obsolete for decades, and for which > support was removed in Emacs 24. The primary selection is what you are > used to using. The naming is a little confusing. And as I said I found the wrong section by poor use of keywords while searching. I can't believe I missed the section immediately above the one I found. Thank you for educating me that the cut buffers referred to something yet different. That is useful to know to interpret that entry. Bob