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.