From: Ihor Radchenko <yantar92@posteo.net>
To: Visuwesh <visuweshm@gmail.com>
Cc: Juergen Fenn <jfenn@gmx.net>, emacs-orgmode@gnu.org
Subject: Re: [ANN] Org mode 9.7 is out
Date: Wed, 05 Jun 2024 14:20:37 +0000 [thread overview]
Message-ID: <871q5b79oq.fsf@localhost> (raw)
In-Reply-To: <877cf47wso.fsf@gmail.com>
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.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2024-06-05 14:19 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-02 9:42 [ANN] Org mode 9.7 is out Ihor Radchenko
2024-06-02 11:40 ` Dr. Arne Babenhauserheide
2024-06-02 12:07 ` Ihor Radchenko
2024-06-02 14:01 ` Juergen Fenn
2024-06-02 15:05 ` Ihor Radchenko
2024-06-02 15:21 ` Juergen Fenn
2024-06-02 18:05 ` Ihor Radchenko
2024-06-02 19:13 ` Juergen Fenn
2024-06-02 20:11 ` Ihor Radchenko
2024-06-02 21:17 ` Juergen Fenn
2024-06-03 5:06 ` Visuwesh
2024-06-05 5:34 ` Juergen Fenn
2024-06-05 6:01 ` Visuwesh
2024-06-05 14:20 ` Ihor Radchenko [this message]
2024-06-06 6:20 ` Visuwesh
2024-06-06 11:55 ` Juergen Fenn
2024-06-06 15:17 ` Ihor Radchenko
2024-06-06 20:41 ` Juergen Fenn
2024-06-17 21:16 ` JD Smith
2024-06-18 1:03 ` JD Smith
2024-06-05 16:03 ` Juergen Fenn
2024-06-29 21:01 ` Juergen Fenn
2024-06-03 9:11 ` Ihor Radchenko
2024-06-02 16:30 ` Russell Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871q5b79oq.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=jfenn@gmx.net \
--cc=visuweshm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).