unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Björn Bidar" <bjorn.bidar@thaodan.de>
To: Jean-Christophe Helary via Users list for the GNU Emacs text
	editor <help-gnu-emacs@gnu.org>
Cc: Jean-Christophe Helary <jean.christophe.helary@traductaire-libre.org>
Subject: Re: Handling the message:// protocol in Emacs
Date: Mon, 30 Dec 2024 06:29:55 +0200	[thread overview]
Message-ID: <2047.55826141394$1735533034@news.gmane.org> (raw)
In-Reply-To: <FDBB4B42-5F2F-459B-B8AE-899C5C02C4D1@traductaire-libre.org> (Jean-Christophe Helary via Users list for the's message of "Mon, 30 Dec 2024 02:22:14 +0000")

Jean-Christophe Helary via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> I’d like to have URIs defined as:
>
> message://[string]
>
> open in the default macOS Mail reader (Mail.app).
>
> How would I go about to achieve that?

You would have to write your own browse-url function and register it to
`browse-url-handlers'.

Read:
(info "(emacs) Browse-URL")



  reply	other threads:[~2024-12-30  4:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-30  2:22 Handling the message:// protocol in Emacs Jean-Christophe Helary via Users list for the GNU Emacs text editor
2024-12-30  4:29 ` Björn Bidar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-30 14:01 Jean-Christophe Helary via Users list for the GNU Emacs text editor
2024-12-30 18:54 ` tpeplt
2025-01-01  1:37   ` Björn Bidar
     [not found]   ` <67749c6e.e90a0220.291618.33c5SMTPIN_ADDED_BROKEN@mx.google.com>
2025-01-02  3:40     ` tpeplt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='2047.55826141394$1735533034@news.gmane.org' \
    --to=bjorn.bidar@thaodan.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jean.christophe.helary@traductaire-libre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).