[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `M-x yank-media'
From: |
Lars Ingebrigtsen |
Subject: |
Re: `M-x yank-media' |
Date: |
Sun, 07 Nov 2021 15:04:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> (gui-get-selection 'CLIPBOARD 'image/png)
>>
>> and then some slight massaging; see yank-media--get-selection.
>
> I cannot figure out from that code what kind of "data" is expected
> from the above call. For example, if the data in the clipboard is an
> image?
Yes, on GNU/Linux, that call will return a string containing the image
data.
> Then that's non-portable, because this stuff is not standardized
> enough, AFAIK. We need more layers to hide platforms-specifics, I
> think.
Yup. (Or rather, non-Linux systems should emulate Linux here somewhat.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- 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', Po Lu, 2021/11/07
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/07
- Re: `M-x yank-media', Po Lu, 2021/11/07
- Re: `M-x yank-media', Lars Ingebrigtsen, 2021/11/07
- Re: `M-x yank-media', Po Lu, 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', Eli Zaretskii, 2021/11/07
- Re: `M-x yank-media',
Lars Ingebrigtsen <=
- 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, 2021/11/23
- 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