GNU bug report logs - #76120
[PATCH] Expose the native sharing dialog (macOS)

Previous Next

Package: emacs;

Reported by: Álvaro Ramírez <alvaro <at> xenodium.com>

Date: Fri, 7 Feb 2025 15:00:02 UTC

Severity: wishlist

Tags: patch

Full log


View this message in rfc822 format

From: Visuwesh <visuweshm <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Björn Bidar <bjorn.bidar <at> thaodan.de>, alvaro <at> xenodium.com, stefankangas <at> gmail.com, 76120 <at> debbugs.gnu.org
Subject: bug#76120: [PATCH] Expose the native sharing dialog (macOS)
Date: Tue, 11 Feb 2025 20:25:35 +0530
[செவ்வாய் பிப்ரவரி 11, 2025] Eli Zaretskii wrote:

>> From: Björn Bidar <bjorn.bidar <at> thaodan.de>
>> Cc: Stefan Kangas <stefankangas <at> gmail.com>,  76120 <at> debbugs.gnu.org,  Eli
>>  Zaretskii <eliz <at> gnu.org>
>> Date: Tue, 11 Feb 2025 00:14:22 +0200
>> 
>> Since xdg-open isn't the same as "sharing" doesn't that only circumvent
>> the policy to not add functionality that is only supported on non-free
>> platforms?
>
> After all the discussions we had about the meaning of "sharing" in
> this case, what exactly makes you say xdg-open etc. are not equivalent
> to this "sharing"? just the fact that xdg-open doesn't have an option
> called literally "share", or something else?
>
> IOW, would you please describe the general functionality that the
> proposed "sharing" offers and xdg-open doesn't?

xdg-open simply opens the given file in the most suitable application
(if you ask me how it is determined, I can only tell it is dark arts).
So, `xdg-open ~/somepdf.pdf' will open the file in a PDF reader,
`xdg-open ~/img.png' will open it in an image viewer, etc.  However, I
see an "Airdrop" option in the MacOS's share menu which AFAIK/U is akin
to "Share to device" which xdg-open cannot do.  For this, we need to
rely on KDE Connect or something similar for which Emacs does not have
support for OOTB.




This bug report was last modified 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.