From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Craig Falls Newsgroups: gmane.emacs.bugs Subject: bug#2289: wishlist with fix: losing X-windows clipboard Date: Thu, 12 Feb 2009 19:04:58 -0500 Message-ID: <180a05860902121604i363bcae9ga0df4c2bc6e5019b@mail.gmail.com> References: <180a05860902110846v246f3b2aq665aec656c420a0d@mail.gmail.com> Reply-To: Craig Falls , 2289@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=002215046c6f6dbb010462c196d7 X-Trace: ger.gmane.org 1234504224 3153 80.91.229.12 (13 Feb 2009 05:50:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2009 05:50:24 +0000 (UTC) Cc: 2289@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 13 06:51:31 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 1LXqxO-0006Si-8z for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Feb 2009 06:51:22 +0100 Original-Received: from localhost ([127.0.0.1]:54982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXqw4-0000PY-Fs for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Feb 2009 00:50:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXlqE-0007Bc-Fe for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2009 19:23:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXlqC-0007BA-QZ for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2009 19:23:37 -0500 Original-Received: from [199.232.76.173] (port=42371 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXlqC-0007B3-Hw for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2009 19:23:36 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33109) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXlqC-0000qB-3h for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2009 19:23: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 n1D0NYoV002084; Thu, 12 Feb 2009 16:23:34 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1D0A494031169; Thu, 12 Feb 2009 16:10:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Craig Falls Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 13 Feb 2009 00:10:04 +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.123448350730167 (code B ref 2289); Fri, 13 Feb 2009 00:10:04 +0000 Original-Received: (at 2289) by emacsbugs.donarmstrong.com; 13 Feb 2009 00:05:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.181]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1D04xTp029072 for <2289@emacsbugs.donarmstrong.com>; Thu, 12 Feb 2009 16:05:00 -0800 Original-Received: by el-out-1112.google.com with SMTP id o28so706483ele.22 for <2289@emacsbugs.donarmstrong.com>; Thu, 12 Feb 2009 16:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=TV7tPQXGmuUDT3TPI362bnZwSRUvI1uJPh3yErrlp3c=; b=xzScy9HzquFMwt/d6Oa7w0b0isN2/l1Zw57fRzeHRYG0yhyjaRwfVih+H1qU/Hq/pj 9GLddykD6IKGdyQ4UmgESf/W1ziZ8tBBWiyWGE6ZSXPBLfstTOZHSvS38FFv/QIrMVaS McC9fkP9baoSUXN8bhh/P/ruSoBKLy7rlHVBM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tMId8OdBvdwsRX1vFsWwg4edqjCDqyLIhIyWOG/G3NG8ukSuQgirE819H7bBXL6/+l /7JysNlFglLKdwP2l8iuZGhTlcRRpNKUi3irN2cQNWNr1QEwd59vRIlXmHrt8GtpKCgY aKy2oqvTol7J8opQ/SczfDJVhQSszbTy7wcd8= Original-Received: by 10.231.16.134 with SMTP id o6mr457829iba.53.1234483498826; Thu, 12 Feb 2009 16:04:58 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 12 Feb 2009 19:23:37 -0500 X-Mailman-Approved-At: Fri, 13 Feb 2009 00:47:17 -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:25279 Archived-At: --002215046c6f6dbb010462c196d7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks. I sort of feel like current-kill should time out, whether this new option is set or not, if that's possible in emacs lisp. On Wed, Feb 11, 2009 at 9:33 PM, Stefan Monnier wrote: > 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 > --002215046c6f6dbb010462c196d7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks.  I sort of feel like current-kill should time out, whether thi= s new option is set or not, if that's possible in emacs lisp.

On Wed, Feb 11, 2009 at 9:33 PM, Stefan Monnier <monnier@iro= .umontreal.ca> wrote:
severity 2289 wis= hlist
thanks

> Fix: The following one-line patch seems to work, but I'm no emacs<= br> > 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

--002215046c6f6dbb010462c196d7--