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: Fri, 2 Jan 2009 16:41:46 +0100 Message-ID: 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 1230912410 18286 80.91.229.12 (2 Jan 2009 16:06:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2009 16:06:50 +0000 (UTC) Cc: olau@hardworking.dk To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 02 17:07:57 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 1LImYx-0005eQ-GV for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Jan 2009 17:07:52 +0100 Original-Received: from localhost ([127.0.0.1]:34373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LImXi-0001Bh-EI for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Jan 2009 11:06:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LImUk-0007HW-6r for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2009 11:03:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LImUi-0007GJ-4f for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2009 11:03:28 -0500 Original-Received: from [199.232.76.173] (port=56705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LImUh-0007G3-Vk for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2009 11:03:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56566) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LImUh-0003P2-1S for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2009 11:03:27 -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 n02G3MEp025273; Fri, 2 Jan 2009 08:03:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n02Fo3Kg021708; Fri, 2 Jan 2009 07:50:03 -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: Fri, 02 Jan 2009 15:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1765 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123091091320403 (code B ref -1); Fri, 02 Jan 2009 15:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Jan 2009 15:41:53 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n02Ffodp020394 for ; Fri, 2 Jan 2009 07:41:51 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LIm9l-0007sP-OZ for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2009 10:41:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LIm9k-0007sD-Vn for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2009 10:41:49 -0500 Original-Received: from [199.232.76.173] (port=39972 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIm9k-0007sA-TN for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2009 10:41:48 -0500 Original-Received: from yx-out-1718.google.com ([74.125.44.156]:22235) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LIm9k-0001dS-Js for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2009 10:41:48 -0500 Original-Received: by yx-out-1718.google.com with SMTP id 34so2105171yxf.66 for ; Fri, 02 Jan 2009 07:41:47 -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:cc:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=aEBOC4AvaYRqgEayNqYT+bjkf38ByJfGMdCkendNdrU=; b=hymd6/iw71Swcga07JDmT0ukwgTC0TLKIhQR26UTMihDKHCokoMpYrVj4jSgG71Jpv MQ1y5AaY3WVRmNEUeUtGVM23rzsE6aksa0cAMgS0KHiE6z84zWvRA43ofpQj365BFLaA Vw37lVC9eogyvac1pvqoX1XmHFSNAxoqKLl/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=f24gSwpARoDbtt2ddSTRIWqFFwO+xul3c9C4oW8HQPVGx8OLP22XVJWtJo0N49oQlA 5+AH/DK7JaD+5JgRt1GJI/b+5KpxYclgBLwb+4xz/V2DjB+5RMU/L0rRt/Y113TWvO4u 7QAVS6vEv2+QZxRyYUIIaprKSSvUxQPsTsOkM= Original-Received: by 10.100.163.8 with SMTP id l8mr9828671ane.127.1230910906862; Fri, 02 Jan 2009 07:41:46 -0800 (PST) Original-Received: by 10.100.3.3 with HTTP; Fri, 2 Jan 2009 07:41:46 -0800 (PST) Content-Disposition: inline X-Google-Sender-Auth: f643195517eceaf7 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 02 Jan 2009 11:03:28 -0500 X-Mailman-Approved-At: Fri, 02 Jan 2009 11:04:43 -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:23697 Archived-At: Hi! In every other recent X app I have tried, copy/pasting works the way that the mouse selection = copy and middle click = paste is seperate from the C-c/C-v clipboard. This fits in with the description here: http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki http://www.jwz.org/doc/x-cut-and-paste.html 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 mostly annoying when pasting from another program, e.g. using C-c to copy "foo" in the browser, then yanking the text in Emacs. If you accidentally click the wrong place, the effort in selecting "foo" is lost. I think it makes sense to change the Emacs behaviour to make it a good citizen in the free desktop. And it's arguably also more likely to prevent loss of clips. -- Ole Laursen http://people.iola.dk/olau/