[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `M-x yank-media'
From: |
Alan Third |
Subject: |
Re: `M-x yank-media' |
Date: |
Tue, 23 Nov 2021 23:42:19 +0000 |
On Sun, Nov 07, 2021 at 02:32:42PM +0100, Lars Ingebrigtsen wrote:
> Eli Zaretskii <eliz@gnu.org> 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
0001-Enable-yank-media-on-NS.patch
Description: Text Data
- Re: `M-x yank-media', (continued)
- Re: `M-x yank-media', Eli Zaretskii, 2021/11/07
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/07
- Re: `M-x yank-media', Eli Zaretskii, 2021/11/07
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/07
- Re: `M-x yank-media', Stefan Monnier, 2021/11/07
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/07
- Re: `M-x yank-media', Eli Zaretskii, 2021/11/07
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/07
- Re: `M-x yank-media',
Alan Third <=
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/24
- Re: `M-x yank-media', Alan Third, 2021/11/24
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/24
- Re: `M-x yank-media', Po Lu, 2021/11/24
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/25
Re: `M-x yank-media', Richard Stallman, 2021/11/07
Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/08