From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: emacs24 X primary selection changes Date: Sat, 5 Jan 2013 06:18:39 -0800 (PST) Message-ID: <6a901d49-f95b-4365-84fd-df0cb5a04a18@googlegroups.com> References: <20130103225809.GC13649@hysteria.proulx.com> <2D113F6751EB4E7F8003DD556B818ED4@us.oracle.com> <83lic9ibww.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1357395529 8480 80.91.229.3 (5 Jan 2013 14:18:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2013 14:18:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: gnu.emacs.help@googlegroups.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 05 15:19:06 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 1TrUaX-0007Dz-2H for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2013 15:19:05 +0100 Original-Received: from localhost ([::1]:51805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrUaH-0006cx-LA for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2013 09:18:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrUaA-0006cn-Kk for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 09:18:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrUa8-0006Xv-6Q for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 09:18:42 -0500 Original-Received: from mail-ie0-f185.google.com ([209.85.223.185]:51023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrUa8-0006Xr-1t for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 09:18:40 -0500 Original-Received: by mail-ie0-f185.google.com with SMTP id c10so10227599ieb.2 for ; Sat, 05 Jan 2013 06:18:39 -0800 (PST) Original-Received: by 10.50.108.174 with SMTP id hl14mr268615igb.5.1357395519456; Sat, 05 Jan 2013 06:18:39 -0800 (PST) Original-Path: glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=180.75.164.124; posting-account=pYxWjwkAAACsHSUNDoi5N05LVCTP7PVM Original-NNTP-Posting-Host: 180.75.164.124 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 180.75.164.124 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.223.185 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:88471 Archived-At: On Saturday, 5 January 2013 07:11:43 UTC+8, Bob Proulx wrote: > But X Window applications have always expected dragging mouse-1 to > copy text and mouse-2 to paste text. Which is what Emacs has always, and still does. > I am becoming more convinced that it is a poor description. But that > modifying word "modern" is a "weasel word" that makes it harder to > nail down. It allows for "modern X app" to be different from "X app". > If modern X applications are becoming more MS Windows like then it is > true even if it is less X Window like. Modern X applications are not becoming less X Window like. In the bad old = days, you had applications like xterm that only supported PRIMARY, and othe= r applications (CDE ones especially, probably also Motif where they came fr= om) that only supported CLIPBOARD. There was no standard, and Emacs way of= doing things was only one of many. Now things are standardising - PRIMARY is for the currently selected text, = and CLIPBOARD is for text that you explicitly put there. It has been that = way in Emacs for some time, except that the Emacs kill-ring (C-w/M-w/C-y) p= ut PRIMARY are the front of the kill-ring, even though use of the kill-ring= is an explicit action, so fits better with the CLIPBOARD. In summary: Selecting text with the mouse or keyboard: puts the text in PRIMARY for as = long as the selection remains active and some other application does not ov= erride it. In earlier versions, the text could remain in PRIMARY even afte= r the selection became inactive. mouse-2: inserts the text from PRIMARY (in previous versions it inserted fr= om the kill-ring, which was often the same thing due to Emacs putting PRIMA= RY at the head of the kill-ring). C-y: inserts the text from the kill-ring. In Emacs-24, CLIPBOARD from other= applications is automatically placed at the head of the kill-ring, in prev= ious versions, PRIMARY from other applications is automatically placed at t= he head of the kill-ring. C-w/M-w: kill/copy to the kill-ring. In Emacs-24, these also put text on t= he CLIPBOARD for other applications. In earlier versions, they put non-sele= cted text into PRIMARY (which is non-standard behaviour - I don't think any= other X application does/did this).