emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 09 Nov 2021 04:39:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> This command seems to assume that only the data types which have
> support in gui-get-selection are useful.  But that is not necessarily
> true for a command that was meant to allow snooping and tinkering.
>
> For example, after copying text from Firefox on MS-Windows, I have:
>
>   (gui-get-selection 'CLIPBOARD 'TARGETS)
>     => [DataObject text/html HTML\ Format text/_moz_htmlcontext 
> text/_moz_htmlinfo UTF8_STRING STRING text/x-moz-url-priv Ole\ Private\ Data 
> OEM_STRING]
>
> But "M-x yank-media-types RET" followed by "?" shows just this:
>
>   Possible completions are:
>   clipboard:STRING

Yeah, it filters out the types where `gui-get-selection' doesn't return
anything, because those types aren't useful for people who want to add
handlers to the modes.  But I could make (for instance) the prefix not
do any filtering and show everything.

OK, added now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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