From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.bugs Subject: bug#8869: Unjustified selection time-out Date: Thu, 16 Jun 2011 16:36:35 +0100 Message-ID: <4DFA2303.2070304@harpegolden.net> References: <4DF955AF.6080107@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308245190 24370 80.91.229.12 (16 Jun 2011 17:26:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2011 17:26:30 +0000 (UTC) Cc: Chong Yidong , 8869@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 16 19:26:26 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QXGKk-00085N-Go for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jun 2011 19:26:22 +0200 Original-Received: from localhost ([::1]:49257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXGKj-0006ew-AX for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jun 2011 13:26:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXEcz-000480-BF for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2011 11:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXEcx-0001Fn-6K for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2011 11:37:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXEcw-0001Fj-V3 for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2011 11:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QXEcw-00086p-B8; Thu, 16 Jun 2011 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jun 2011 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8869 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8869-submit@debbugs.gnu.org id=B8869.130823860631147 (code B ref 8869); Thu, 16 Jun 2011 15:37:02 +0000 Original-Received: (at 8869) by debbugs.gnu.org; 16 Jun 2011 15:36:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QXEce-00086K-Uy for submit@debbugs.gnu.org; Thu, 16 Jun 2011 11:36:45 -0400 Original-Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QXEcc-000865-W8 for 8869@debbugs.gnu.org; Thu, 16 Jun 2011 11:36:43 -0400 Original-Received: from [87.198.47.170] (87-198-47-170.ptr.magnet.ie [87.198.47.170]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id A4DA768533; Thu, 16 Jun 2011 16:36:36 +0100 (IST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110606 Icedove/3.1.10 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 16 Jun 2011 11:37:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47245 Archived-At: On 16/06/11 14:44, Stefan Monnier wrote: >> What does >> (x-selection-exists-p 'CLIPBOARD_MANAGER) >> return on your system? > > It returns t. > So, well, it does sound like you do have something that looks like a clipboard manager hanging about ...but what? (i.e. what process is the owner of that selection...). Of course, if other apps aren't being affected, maybe it is an issue with emacs rather than the clipboard maanger. But to investigate further, it would still be good to know what version of what clipboard manager you're running (even if you didn't know you were running one...). ISTR you once mentioning you used a fairly old-school desktop setup, don't know what you're using now - given you mention gnome-terminal, though, can you see if you have the "gnome-settings-daemon" process hanging around? It's a clipboard manager among other things. I'm a bit slow to blame the new code, as we've already seen one buggy clipboard manager (a particular version of xfce4-settings-helper, now superseded). We did also have one user report a problem under their gnome desktop, but neither Chong Yidong nor myself could replicate it (#8779). > I don't actually know which application other than Emacs implements this > protocol, but gnome-terminal exits in less than 1s, same for Firefox > (well, it might take a bit more than 1s for Firefox, but it's still > pretty close). > gnome-terminal was one of the apps I tested with, it takes 10 secs to timeout on my system if I make my clipboard manager malfunction in such a way that it still claims to exist but doesn't work (and of course have just copied in gnome-terminal). Testing firefox (or actually iceweasel) it takes a bit over 10 secs too. Uh. Can you start from a fresh emacs -Q and reliably replicate the issue, or is it only happening sometimes even considering only those times you've just copied in emacs?