From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ole Laursen" Newsgroups: gmane.emacs.bugs Subject: bug#1765: Copy/paste inconsistent with other X apps Date: Mon, 5 Jan 2009 14:00:56 +0100 Message-ID: References: Reply-To: Ole Laursen , 1765@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231161866 5690 80.91.229.12 (5 Jan 2009 13:24:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2009 13:24:26 +0000 (UTC) To: 1765@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 05 14:25:37 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LJpSa-0007Qx-J7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jan 2009 14:25:36 +0100 Original-Received: from localhost ([127.0.0.1]:43896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJpRL-00077l-5q for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jan 2009 08:24:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJpQW-0006sI-Kb for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2009 08:23:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJpQU-0006rE-U9 for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2009 08:23:28 -0500 Original-Received: from [199.232.76.173] (port=50073 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJpQU-0006r5-G9 for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2009 08:23:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40609) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LJpQU-0007w4-08 for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2009 08:23:26 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n05DNNp6012756; Mon, 5 Jan 2009 05:23:24 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n05DA4A1009376; Mon, 5 Jan 2009 05:10:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Ole Laursen" Original-Sender: ole.laursen@gmail.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 05 Jan 2009 13:10:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1765 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1765-submit@emacsbugs.donarmstrong.com id=B1765.12311604607194 (code B ref 1765); Mon, 05 Jan 2009 13:10:04 +0000 Original-Received: (at 1765) by emacsbugs.donarmstrong.com; 5 Jan 2009 13:01:00 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n05D0unF007188 for <1765@emacsbugs.donarmstrong.com>; Mon, 5 Jan 2009 05:00:57 -0800 Original-Received: by an-out-0708.google.com with SMTP id b6so447997ana.31 for <1765@emacsbugs.donarmstrong.com>; Mon, 05 Jan 2009 05:00:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=k7w+dthoeuKA0YUVj6rwadWU1HVTdJXayfIRff7ymro=; b=LFKwqZ0xlgvMQuXXr09ooCWiBc0c7fuU77gFb2fEs0W+hQmqiIPYt5lUHgG/nkJcxf l9G8Vfy0RbHnWtOXpuvsH7HPE5TlB9msO2FuWECFYOIDTsyGz4+Fc/JdwtzpxK5NuwIo Gw9I3YMCHioF1Ifsew01T0jCejBWOUzCzpJKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=LR4HprqraHcVg4+s0fCITjolKAxzvk8bvg93reBVpbYCFxYsfUio7cBbuK+ZhNAvX9 WJY+H617js3P/c/YimYk5uTYITN5F0q9Z7/qZKKoOEs1UuWJBnuh0QPwA4WsxNZ3jCsM ZXtJExLyVP4hVXWkt7DQp50BI3cugCC6yvIIU= Original-Received: by 10.100.47.13 with SMTP id u13mr10980814anu.106.1231160456114; Mon, 05 Jan 2009 05:00:56 -0800 (PST) Original-Received: by 10.100.127.20 with HTTP; Mon, 5 Jan 2009 05:00:56 -0800 (PST) In-Reply-To: Content-Disposition: inline X-Google-Sender-Auth: b841bc3ede315841 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 05 Jan 2009 08:23:27 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23791 Archived-At: Darn, this went to the wrong address. 2009/1/5 Ole Laursen : > 2009/1/4 Richard M Stallman : >> However, my Emacs 22.2.1 (started with emacs -Q) is confusing the two. >> If I kill-ring-save "foo", select "bar" with the mouse and yank I get >> "bar" instead of "foo". With the above spec, I should have gotten >> "bar" only if I pressed M-w before yanking. >> >> This is a very useful feature. It means, for instance, that you can use >> C-y in Emacs to insert text that was selected in other apps. > > But the thing is that this goes against the defacto standard - and it > is there for good reasons. Standard paste/yank always only inserts > text that was explicitly copied to the clipboard. If you read this > short document > > http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki > > it's very clear on this. > > The problem with not following the spec is that text selections are > used for a lot of stuff. If I patiently select a piece of text with > the mouse and press C-c, I expect to be able use that piece of text > later - even if I have selected another piece of text, or just clicked > an input field with automatic text selection. > > Imagine having the kill ring filled up with random stuff every time > you press C-space and move the cursor. That's what Emacs is currently > doing with clips from other programs. > > -- > Ole Laursen > http://people.iola.dk/olau/ > -- Ole Laursen http://people.iola.dk/olau/