Subject: Re: bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform

From: Eli Zaretskii <[email-masked]>
Date: Wed, 03 Jul 2024 14:19:38 +0300

severity 71909 wishlist
thanks

> From: Eason Huang <[email-masked]>
> Date: Wed, 03 Jul 2024 12:45:17 +0800
> 
> Rencently I tried to use yank-media for pasting image from clipboad in
> org-mode, It works as expected on Linux system, but it doesn't works on
> Windows 10 and Windows 11.
> 
> Does it mean that it doesn't support Windows platform?

Yes, Emacs doesn't (yet) support this on MS-Windows.  Patches welcome
to add such a support.

> Steps to reproduce:
> 
> 1. Start Emacs with `emacs -Q`
> 2. C-x C-f ~/test.org to open a file in org-mode
> 3. Copy any image in clipboard
> 4. M-x yank-media on the test.org file, will get following message:
> ```
> user-error: No handler in the current buffer for anything on the
> clipboard
> ```
> 
> 5. try M-x yank-media-types, only get the `primary:STRING`

That's the expected result with the current codebase, yes.