From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.bugs Subject: bug#4070: 23.1; ns: cut buffers don't work with --daemon Date: Wed, 20 Jan 2010 10:24:38 -0500 Message-ID: <55f7df061001200724i6e1e27dak35ec874e25c997d3@mail.gmail.com> 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> <20100120045451.GB3530@csail.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1264008864 23528 80.91.229.12 (20 Jan 2010 17:34:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jan 2010 17:34:24 +0000 (UTC) Cc: 4070@emacsbugs.donarmstrong.com To: Dan Ports Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 20 18:34:17 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 1NXeRb-0002Hq-3h for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jan 2010 18:34:15 +0100 Original-Received: from localhost ([127.0.0.1]:59005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXeRX-000769-2g for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jan 2010 12:34:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXe3k-0006A5-4d for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 12:09:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXe3f-00063p-0u for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 12:09:35 -0500 Original-Received: from [199.232.76.173] (port=49295 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXe3e-00063d-Pg for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 12:09:30 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45372) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NXe3e-0008IY-GN for bug-gnu-emacs@gnu.org; Wed, 20 Jan 2010 12:09:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NXdml-0000HR-0i; Wed, 20 Jan 2010 11:52:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Adrian Robert 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 16:52:02 +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.12640062681045 (code B ref 4070); Wed, 20 Jan 2010 16:52:02 +0000 Original-Received: (at 4070) by debbugs.gnu.org; 20 Jan 2010 16:51:08 +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 1NXdlr-0000Gn-6G for submit@debbugs.gnu.org; Wed, 20 Jan 2010 11:51:07 -0500 Original-Received: from mail-yx0-f190.google.com ([209.85.210.190]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXcQF-0007Pd-M1 for 4070@emacsbugs.donarmstrong.com; Wed, 20 Jan 2010 10:24:44 -0500 Original-Received: by yxe28 with SMTP id 28so4034084yxe.19 for <4070@emacsbugs.donarmstrong.com>; Wed, 20 Jan 2010 07:24:38 -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=THWd4hjJ4TI9R5HmjXNphV5c59MzfQJhILVIID1RzOA=; b=vSBm3SyMruMOI1WeVgM5VegVjPi6DPWeV5mVRa+cbjWKMNpTT/svpuJzkFbJSctzRq I+qhto1hR2/PJZV0/uJUGhVrskx0d5TfnOY0cDkJA3IFJwcXNe3GqkCoLevt3mBTZAHM EiK9NNEmTXLoyP9nsCJ7mYEa+yPJ4HPNqNjBw= 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=rF7UsZwO/Myzw9KN0d23Gf0mpeVu2CHLgyLtqK2eV5LIfq3cnI0U9fnEs9Iek5Tgi+ bGYuCNsCgBtj/i5DKX1hkzyJLEAhtk15v5zpLov+EReY5oJGBSm/KyQTR6Ddk4f6Vcu+ 4DzfnyEGh7kkHOF9DMxVbppmAQ7CXYovKAJgM= Original-Received: by 10.101.106.19 with SMTP id i19mr133835anm.186.1264001078340; Wed, 20 Jan 2010 07:24:38 -0800 (PST) In-Reply-To: <20100120045451.GB3530@csail.mit.edu> X-Spam-Score: -2.6 (--) X-Mailman-Approved-At: Wed, 20 Jan 2010 11:51:05 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.6 (--) Resent-Date: Wed, 20 Jan 2010 11:52:03 -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:34570 Archived-At: >> 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. That really sounds like an impressive hack on Screen's part, but I guess if the API is there... > 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? Well there are still quite a lot of 10.4 systems around, let alone 10.5. But now that we know what the problem is it might be possible to check on startup and generate a warning, and/or work-around to at least not break within-emacs pasting. -Adrian