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: Álvaro Ramírez <alvaro <at> xenodium.com>
To: 76120 <at> debbugs.gnu.org
Subject: bug#76120: [PATCH] Expose the native sharing dialog (macOS)
Date: Fri, 07 Feb 2025 14:59:21 +0000
[Message part 1 (text/plain, inline)]
Hi folks,

Similar to the existing ns-do-show-character-palette command, this 
patch exposes a native macOS context dialog.

The new addition enables users to share (send) text or files to 
other apps.

Examples:

- Send current buffer file.
- Send a list of dired files.
- Send region text.

I'm keen to polish the patch a bit more, but wanted to pre-fly 
things before investing further.

Overall it's a nice/convenient addition. I use it frequently to 
quickly send things to my phone over local network/Bluetooth.

I'm attaching a couple of screenshots showcasing a couple of uses:

share-dired-files.jpg (send files from dired)
share-region-text.jpg (send region text)

Hope you like it.

Álvaro

In GNU Emacs 31.0.50 (build 44, aarch64-apple-darwin24.0.0, NS
appkit-2566.00 Version 15.0.1 (Build 24A348)) of 2025-02-07 built 
on
MacBookPro
Repository revision: 811d575336942b1cd1e1c6fb50620babdf9cc82c
Repository branch: macos-share
Windowing system distributor 'Apple', version 10.3.2566
System Description:  macOS 15.0.1

Configured using:
'configure --with-ns
--prefix=/Users/alvaro/stuff/active/code/third_party/emacs/nextstep/Emacs.app/Contents/MacOS
--enable-locallisppath=/Users/alvaro/stuff/active/code/third_party/emacs/nextstep/Emacs.app/Contents/MacOS'

[0001-Expose-the-native-sharing-dialog-macOS.patch (text/patch, attachment)]
[share-dired-files.jpg (image/jpeg, attachment)]
[share-region-text.jpg (image/jpeg, 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.