bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4070: 23.1; ns: cut buffers don't work with --daemon


From: Dan Ports
Subject: bug#4070: 23.1; ns: cut buffers don't work with --daemon
Date: Tue, 19 Jan 2010 23:54:51 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

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/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]