unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juergen Fenn <jfenn@gmx.net>
Cc: emacs-devel@gnu.org, yantar92@posteo.net, visuweshm@gmail.com,
	numbchild@gmail.com
Subject: Re: [BR] Clipboard support on macOS and Org 9.7
Date: Mon, 17 Jun 2024 14:00:54 +0300	[thread overview]
Message-ID: <86a5jjsujd.fsf@gnu.org> (raw)
In-Reply-To: <1a472cbc-7e1e-4a9d-97fc-5cfbf3ff58fb@gmx.net> (message from Juergen Fenn on Sun, 16 Jun 2024 23:22:14 +0200)

> 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?



  reply	other threads:[~2024-06-17 11:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-16 21:22 [BR] Clipboard support on macOS and Org 9.7 Juergen Fenn
2024-06-17 11:00 ` Eli Zaretskii [this message]
2024-06-17 11:15   ` Ihor Radchenko
2024-06-17 12:07     ` Eli Zaretskii
2024-06-17 22:30       ` Juergen Fenn
2024-06-18  4:33         ` Visuwesh
2024-06-18 12:43           ` Eli Zaretskii
2024-06-17 12:05 ` Robert Pluim
2024-06-17 22:25   ` Juergen Fenn
2024-06-18  7:37     ` Robert Pluim
2024-06-22 20:16       ` Juergen Fenn

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a5jjsujd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jfenn@gmx.net \
    --cc=numbchild@gmail.com \
    --cc=visuweshm@gmail.com \
    --cc=yantar92@posteo.net \
    /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.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).