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>

Bug is archived. No further changes may be made.

Full log


Message #448 received at 76120 <at> debbugs.gnu.org (full text, mbox):

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Alvaro Ramirez <alvaro <at> xenodium.com>
Cc: 76120 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, stefankangas <at> gmail.com,
 alan <at> idiocy.org, rpluim <at> gmail.com
Subject: Re: bug#76120: This feature is not about "sharing", or a "native"
 anything.
Date: Sat, 19 Jul 2025 19:54:31 +0200
Alvaro Ramirez <alvaro <at> xenodium.com> writes:

>> I guess I could add a first entry to send-to-handlers that invokes a
>> transient or something that acts as a replacement for the GUI share
>> menu. So I'd aay send-to-handlers solves this. Thanks!
>>
>> (I was thinking of "open -a Mail FILE" which opens a new message
>> with
>> FILE attached, while "open FILE" opens some application which is
>> associated with the file type, e.g. TextEdit for text files.
>> Sometimes
>> one wants to do that, sometimes the other.)
>
> Ah, I see what you mean. Closest I got to that on macOS is M-x
> dwim-shell-commands-macos-open-with:
>
> https://github.com/xenodium/dwim-shell-command/blob/4b077432a94873e5f505c8f569743cfd984eebb1/dwim-shell-commands.el#L1331
>
> If you do add your own handler, I’d love to see what you come up with.

I've added that the my EGTL (Ever Growing Todo List), but I must admit
it's unlikely that I'll do it :-). In similar cases, M-! plus Pcomplete
and Corfu for command, options, file name completions is pretty good, I
must say.




This bug report was last modified 30 days ago.

Previous Next


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