emacs-mailto — make macOS mailto: links open in EmacsIf you run Emacs as your mail client on macOS,…
انتشار: 2026/07/02 01:07 UTC
emacs-mailto — make macOS mailto: links open in EmacsIf you run Emacs as your mail client on macOS, you've probably hit this: the GNU Emacs NS port (emacs-plus, emacs-mac, official build) doesn't handle mailto: links. When Emacs is already running, macOS activates it but drops the URL Apple-event before it reaches Lisp — so clicking a mailto: does nothing, and you can't fix it from your config because the event never arrives.emacs-mailto works around it with a tiny relay app registered as your default mail handler. On a mailto: click it brings Emacs to the front and calls emacsclient to open a compose buffer via browse-url-mail — using whatever mail-user-agent you already have (mu4e, notmuch, Gnus, message-mode).Install is a git clone + ./install.sh; the app is built and ad-hoc signed locally, so no Gatekeeper quarantine and no prebuilt binary to trust. Write-up (how it works): [bounga.org/emacs/2026/07/02/emacs-mailto-…(bounga.org/emacs/2026/07/02/emacs-mailto-…) Project (source + tracker): sr.ht//~bounga/emacs-mailtohttps://redd.i…