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 #49 received at 71909 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 9 Oct 2024 14:52:57 +0200
> Cc: 71909 <at> debbugs.gnu.org
> From: Cecilio Pardo <cpardo <at> imayhem.com>
>
> On 07/10/2024 13:58, Eli Zaretskii wrote:
>
> > Isn't CF_BITMAP format indicate the data to which we convert images on
> > Windows in the w32-specific portions of image.c? Or maybe it's a BMP
> > data (which we can already display, see w32image.c)? If so, then
> > yanking images into an Emacs buffer could simply use the data instead
> > of converting to PNG, then back to bitmap.
>
> But how would lisp programs register for receiving that?
> yank-media-handler asks for mime types.
I believe the MIME type is image/bmp.
> > If CF_WAVE are the same data as in *.wav files, then we should be able
> > to invoke play-sound in some way.
>
> But again, lisp programas need to register for a mime type, and then act
> on the data as they require.
That's audio/wav, I believe.
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.