From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Ports Newsgroups: gmane.emacs.bugs Subject: bug#4070: 23.1; ns: cut buffers don't work with --daemon Date: Tue, 19 Jan 2010 23:54:51 -0500 Message-ID: <20100120045451.GB3530@csail.mit.edu> References: <59C9CE56-9D09-43E5-B94E-B2B3F69254EE@gmail.com> <20090919071715.GB19788@csail.mit.edu> <20090920045704.GC19788@csail.mit.edu> <5B63D4A2-9350-4986-8531-C710089A9EB8@gmail.com> <20091128011731.GB19544@csail.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263973539 31191 80.91.229.12 (20 Jan 2010 07:45:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jan 2010 07:45:39 +0000 (UTC) Cc: 4070@emacsbugs.donarmstrong.com To: Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 20 08:45:31 2010 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 1NXVFT-0003Gm-QE for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jan 2010 08:45:08 +0100 Original-Received: from localhost ([127.0.0.1]:57126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXVAH-0000fu-Mv for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jan 2010 02:39:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXVA6-0000fO-Vd for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 02:39:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXVA0-0000ec-VH for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 02:39:33 -0500 Original-Received: from [199.232.76.173] (port=52218 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXVA0-0000eZ-R3 for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 02:39:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56170) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NXVA0-000630-FM for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 02:39:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NXUw1-0002qe-ME; Wed, 20 Jan 2010 02:25:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Dan Ports Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jan 2010 07:25:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 4070 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: unreproducible moreinfo Original-Received: via spool by 4070-submit@debbugs.gnu.org id=B4070.126397224610929 (code B ref 4070); Wed, 20 Jan 2010 07:25:01 +0000 Original-Received: (at 4070) by debbugs.gnu.org; 20 Jan 2010 07:24:06 +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 1NXUv8-0002qE-CY for submit@debbugs.gnu.org; Wed, 20 Jan 2010 02:24:06 -0500 Original-Received: from [18.141.0.210] (helo=midnight-anchovy.ambulatoryclam.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXSal-0001aE-8o for 4070@emacsbugs.donarmstrong.com; Tue, 19 Jan 2010 23:54:57 -0500 Original-Received: by midnight-anchovy.ambulatoryclam.net (Postfix, from userid 1001) id EC7754AC1F; Tue, 19 Jan 2010 23:54:51 -0500 (EST) Content-Disposition: inline In-Reply-To: <20091128011731.GB19544@csail.mit.edu> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.9 (-) X-Mailman-Approved-At: Wed, 20 Jan 2010 02:24:04 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -1.9 (-) Resent-Date: Wed, 20 Jan 2010 02:25:01 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:34537 Archived-At: On Fri, Nov 27, 2009 at 08:17:31PM -0500, Dan Ports wrote: > So it has been a while since I replied to this one. I have been pretty > busy lately and fixing it has not been a high priority since an obvious > workaround now exists: don't start Emacs in screen. :-) It has now been even longer since I've thought about this bug at all, but an insight occurred to me today and I believe I now know what's going on. > The problem seems to be that [NSPasteboard generalPasteboard] returns > nil. I wasn't able to come up with any reason this should ever happen. A fine reason for this to happen would be if Emacs was unable to communicate with the pasteboard server because they were in different Mach bootstrap contexts. Apparently in 10.5 and prior, screen moved itself from the per-session namespace to the enclosing per-user namespace in order to persist across GUI sessions. This breaks its ability to communicate with the pasteboard server. Apparently in 10.6 the distinction between per-user and per-session namespaces is gone (unfortunately I can't find many details of what exactly changed, but that much I've been able to glean) so all of this is moot. Indeed, since my first bug report I've upgraded to 10.6 and I believe I'm no longer able to reproduce it. Isn't it nice when a problem magically goes away? Dan -- Dan R. K. Ports MIT CSAIL http://drkp.net/