emacs-devel
[Top][All Lists]
Advanced

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

Re: "pasteboard doesn't contain valid data" on OSX


From: David De La Harpe Golden
Subject: Re: "pasteboard doesn't contain valid data" on OSX
Date: Sun, 08 Aug 2010 23:58:47 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5

On 08/08/10 22:07, David De La Harpe Golden wrote:
Plus, the ns port is doing something strange elsewhere (ns-win.el) (that
can be summed up as "cut buffers? ...wtf?").

Seems stuff that's named "cut buffer" in the ns-specific parts has 
basically nothing to do with x11 cut buffers.  I don't know if there was 
a misunderstanding, or an active decision to reuse the name, or what (I 
suppose I could paw through the logs), but it's a terrible name given 
the opportunity for confusion with an obsolete x11 feature (especially 
remembering that ns emacs /runs on/ x11 in some incarnations).
Anyway. The attached patch brings emacs to the point I can call the 
(unfortunately named) ns-store/get-cut-buffer-internal functions* in ns 
emacs to set/get the various ns pasteboards that gnustep/x11 maps to 
clipboard/primary/secondary as previously mentioned, and read/write them 
from x11 selections in x11 emacs etc.
It should also improve the macosx experience (untested), though there 
are still problems*.
* N.B., higher level stuff isn't all working right yet.


Attachment: ns-clipboard-pboard_r2.diff
Description: Text Data


reply via email to

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