GNU bug report logs -
#71909
30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform
Previous Next
Reported by: Eason Huang <aqua0210 <at> foxmail.com>
Date: Wed, 3 Jul 2024 04:47:01 UTC
Severity: wishlist
Found in version 30.0.60
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #121 received at submit <at> debbugs.gnu.org (full text, mbox):
On 30/10/2024 16:35, Eli Zaretskii wrote:
>> The ability to yank DIBV5 will be lost. If there is no alternative such
>> as PNG or image/*, then yank can't be done.
>
> Is this because w32-use-native-image-API set to nil disables loading
> of GDI+? If so, we could load it even if w32-use-native-image-API is
> nil, but just return false from w32_can_use_native_image_api. This
> would allow us to use the GDI+ functions needed for yanking, but not
> those needed for image display. Does this make sense?
Yes, I'll do that.
>>> Why a unibyte string? Is this always binary data or something? If
>>> this could be text (e.g., text/html), then a unibyte string is not the
>>> best choice.
>>
>> It can be binary, but not always. Is unibyte ok for binary cases?
>
> Yes. But we need to document that in the doc string.
>
>> I can
>> treat text/* differently, and make exceptions for types like image/svg+xml.
>
> That'd be much better.
Ok.
I'm on it.
This bug report was last modified 260 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.