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

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Visuwesh <visuweshm <at> gmail.com>
To: Björn Bidar <bjorn.bidar <at> thaodan.de>
Cc: 76120 <at> debbugs.gnu.org, Alvaro Ramirez <alvaro <at> xenodium.com>, Stefan Kangas <stefankangas <at> gmail.com>
Subject: bug#76120: [PATCH] Expose the native sharing dialog (macOS)
Date: Mon, 10 Feb 2025 07:28:31 +0530
[Message part 1 (text/plain, inline)]
[திங்கள் பிப்ரவரி 10, 2025] Björn Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>>>> Would you or anyone else be interested in implementing this for
>>>> GNU/Linux as well?  I don't think we need perfect coverage of
>>>> all
>>>> desktop environments, but it would be useful to support it on
>>>> one or more
>>>> popular ones (for example Gnome or KDE).
>>>
>>> Skills-wise, I wouldn't be the best candidate to make the
>>> Linux-related changes. I could try reaching out to Carl Lieberman,
>>> author of https://github.com/carldotac/kdeconnect.el, to see if
>>> they'd be inclined to contribute their package upstream.
>>>
>>>> This would also be a good opportunity to generalize the feature,
>>>> so that
>>>> instead of having `ns-share`, we would have a command named
>>>> `share-file`
>>>> or something like that.
>>>
>>> Without a Linux partner to help with the counter changes, I'm less
>>> likely to take on the additional scope.
>>>
>>> I could also reach out to emacs-devel if you reckon it's
>>> appropriate to scout Linux support.
>>
>> Asking Carl Lieberman might be a useful step.  Asking on emacs-devel
>> would also be useful, to see if other people have any comments.
>
> kdeconnect.el doesn't implement any dialog to "share" a file but only
> invokes KDEconnect CLI to share a file.

Personally, I think we might be better served by using the dbus
interface directly.  I have the attached in my init file which could be
a reference.  Of course, as you point out, there's no share to other
applications; only to devices.

[Message part 2 (text/plain, attachment)]

This bug report was last modified 20 days ago.

Previous Next


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