emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] Org mode 9.7 is out


From: Visuwesh
Subject: Re: [ANN] Org mode 9.7 is out
Date: Thu, 06 Jun 2024 11:50:04 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[புதன் ஜூன் 05, 2024] Ihor Radchenko wrote:

> Visuwesh <visuweshm@gmail.com> writes:
>
>> BTW, we might have similar problems in Windows too.  See this thread in
>> emacs-devel when yank-media was initially added:
>> https://yhetil.org/emacs-devel/837ddk9tc8.fsf@gnu.org
>
> Looking at that thread, I see
> https://yhetil.org/emacs-devel/YZ18W18vybG7Cb%2FH@idiocy.org/
>
> +  /* Dictionary for looking up NS types from MIME types, and vice versa.  */
> +  typeLookup
> +    = [NSDictionary
> +           dictionaryWithObjectsAndKeys:
> +             @"text/plain",        NSPasteboardTypeURL,
> +#if NS_USE_NSPasteboardTypeFileURL
> +             @"text/plain",        NSPasteboardTypeFileURL,
> +#else
> +             @"text/plain",        NSFilenamesPboardType,
> +#endif
> +             @"text/html",         NSPasteboardTypeHTML,
> +             @"text/plain",        NSPasteboardTypeMultipleTextSelection,
> +             @"application/pdf",   NSPasteboardTypePDF,
> +             @"image/png",         NSPasteboardTypePNG,
> +             @"application/rtf",   NSPasteboardTypeRTF,
> +             @"application/rtfd",  NSPasteboardTypeRTFD,
> +             @"STRING",            NSPasteboardTypeString,
> +             @"text/plain",        NSPasteboardTypeTabularText,
> +             @"image/tiff",        NSPasteboardTypeTIFF,
> +             nil];
>
> For images, only image/png and image/tiff are listed for some reason. No
> jpeg. (and no jpeg in the spec at
> https://developer.apple.com/documentation/appkit/nspasteboardtype)
>
> I suspect that image/tiff entry in the clipboard is garbled by Emacs.
> We may want to report this as a bug.
>
> We may also need to request a feature to support clipboard on MacOS
> better. Using the same example image.

Thanks for the analysis.  Given that Alan says GNUStep cannot handle
non-text clipboard items, I cannot propose anything myself.  It would be
nice if a Mac user can write a report and send it to the Emacs
developers.  Perhaps Juergen can do it?

There was a bug report about yank-media failing in Mac yesterday or
thereabouts so I think the clipboard situation in Mac has a lot to
improve.  Hopefully with Org's yank-media support the situation will
improve.



reply via email to

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