From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#2289: wishlist with fix: losing X-windows clipboard Date: Wed, 11 Feb 2009 21:33:23 -0500 Message-ID: References: <180a05860902110846v246f3b2aq665aec656c420a0d@mail.gmail.com> Reply-To: Stefan Monnier , 2289@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234406665 13129 80.91.229.12 (12 Feb 2009 02:44:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2009 02:44:25 +0000 (UTC) Cc: 2289@emacsbugs.donarmstrong.com To: Craig Falls Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 12 03:45:40 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 1LXRa7-0004aj-MD for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Feb 2009 03:45:39 +0100 Original-Received: from localhost ([127.0.0.1]:50754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXRYo-00026F-1G for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Feb 2009 21:44:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXRYB-0001he-4D for bug-gnu-emacs@gnu.org; Wed, 11 Feb 2009 21:43:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXRY9-0001gi-4V for bug-gnu-emacs@gnu.org; Wed, 11 Feb 2009 21:43:38 -0500 Original-Received: from [199.232.76.173] (port=37451 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXRY8-0001ga-QK for bug-gnu-emacs@gnu.org; Wed, 11 Feb 2009 21:43:36 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57844) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXRY8-0007rd-76 for bug-gnu-emacs@gnu.org; Wed, 11 Feb 2009 21:43:36 -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 n1C2hXlA032755; Wed, 11 Feb 2009 18:43:34 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1C2e6Ce031816; Wed, 11 Feb 2009 18:40:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 12 Feb 2009 02:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2289 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2289-submit@emacsbugs.donarmstrong.com id=B2289.123440601830312 (code B ref 2289); Thu, 12 Feb 2009 02:40:05 +0000 Original-Received: (at 2289) by emacsbugs.donarmstrong.com; 12 Feb 2009 02:33:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1C2XTKH030304; Wed, 11 Feb 2009 18:33:30 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwEAGgZk0lFxIvi/2dsb2JhbACBbtJshBsGgyQ X-IronPort-AV: E=Sophos;i="4.38,194,1233550800"; d="scan'208";a="33747986" Original-Received: from 69-196-139-226.dsl.teksavvy.com (HELO pastel.home) ([69.196.139.226]) by ironport2-out.teksavvy.com with ESMTP; 11 Feb 2009 21:33:23 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 69C9F7FE6; Wed, 11 Feb 2009 21:33:23 -0500 (EST) In-Reply-To: <180a05860902110846v246f3b2aq665aec656c420a0d@mail.gmail.com> (Craig Falls's message of "Wed, 11 Feb 2009 11:46:43 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 11 Feb 2009 21:43:38 -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:25197 Archived-At: severity 2289 wishlist thanks > Fix: The following one-line patch seems to work, but I'm no emacs > hacker, so among other things, there's no configuration. It just > saves the clipboard to the kill-ring before killing if yank would > result in yanking the clipboard instead of the top of the kill ring. I use a similar patch myself. And actually I tried to get it accepted, but it was turned down because of the problems it introduces when the "current-kill" hangs (e.g. when the holder of the selection is suspended). We should add it together, conditional on some config var. That will be for Emacs-23.2, tho. Stefan