[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BR] Clipboard support on macOS and Org 9.7
From: |
Eli Zaretskii |
Subject: |
Re: [BR] Clipboard support on macOS and Org 9.7 |
Date: |
Mon, 17 Jun 2024 14:00:54 +0300 |
> Date: Sun, 16 Jun 2024 23:22:14 +0200
> From: Juergen Fenn <jfenn@gmx.net>
> Cc: Ihor Radchenko <yantar92@posteo.net>, Visuwesh <visuweshm@gmail.com>,
> "Christopher M. Miles" <numbchild@gmail.com>
>
> over at the Org mode mailinglist, Ihor and Visuwesh asked me to post a
> bug report to emacs-devel about how Emacs handles the macOS clipboard.
Bug reports should be sent to the Emacs bug tracker, preferably by
using report-emacs-bug. If Ihor indeed told you to post this here, I
think he made a mistake.
> Anyway, I have tested the clipboard bug with Org 9.7.4 on GNU Emacs 29.3
> (build 1, aarch64-apple-darwin23.5.0, NS appkit-2487.60 Version 14.5
> (Build 23F79)) of 2024-06-09. Here is what I can reproduce:
>
> - Open the file manager Finder and select a local jpg file.
> - Press Command-c to copy the file to the clipboard.
> - Switch to an Org buffer in Emacs.
> - M-x yank-media.
>
> It turns out that any file, regardless of its real format, gets attached
> with a TIFF file ending.
>
> M-x yank-media-type yields:
>
> (1/3) Yank type:
> clipboard:image/tiff
> clipboard:STRING
> clipboard:text/plain
>
> Ihor found out that MIME type support in macOS indeed is incomplete:
>
> https://lists.gnu.org/archive/html/emacs-orgmode/2024-06/msg00063.html
>
> So, you might like to have a look into this.
If you can try the latest master branch of the Emacs Git repository,
perhaps this is now improved (not sure).
In any case, this will need a developer who knows about selections on
macOS. Can anyone look into this, please?
Re: [BR] Clipboard support on macOS and Org 9.7, Robert Pluim, 2024/06/17