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: Adrian Robert
Subject: bug#4070: 23.1; ns: cut buffers don't work with --daemon
Date: Wed, 20 Jan 2010 10:24:38 -0500

>> 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






reply via email to

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