On Sun, Nov 07, 2021 at 02:32:42PM +0100, Lars Ingebrigtsen wrote: > Eli Zaretskii writes: > > > What does this require from the clipboard to work? What are the > > assumptions? > > It's basically this on GNU/Linux: > > (gui-get-selection 'CLIPBOARD 'TARGETS) > => > [TIMESTAMP TARGETS MULTIPLE SAVE_TARGETS text/html text/_moz_htmlinfo text/_moz_htmlcontext image/png image/jpeg image/bmp image/x-bmp image/x-MS-bmp image/x-icon image/x-ico image/x-win-bitmap image/vnd\.microsoft\.icon application/ico image/ico image/icon text/ico image/tiff] > > This lists the available media types. > > I've just had a quick peek at what happens in Macos, and it's very > different there. > > (gui-get-selection 'CLIPBOARD 'TARGETS) > => "http" > > So gui-get-selection (or rather, ns-get-selection) has to grow support > for this? I think the attached should sort this. It doesn't seem to do much on GNUstep, I suspect GNUstep itself doesn't support copying of much more than plain text. -- Alan Third