* Handling the message:// protocol in Emacs
@ 2024-12-30 2:22 Jean-Christophe Helary via Users list for the GNU Emacs text editor
2024-12-30 4:29 ` Björn Bidar
0 siblings, 1 reply; 6+ messages in thread
From: Jean-Christophe Helary via Users list for the GNU Emacs text editor @ 2024-12-30 2:22 UTC (permalink / raw)
To: help-gnu-emacs
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?
--
Jean-Christophe Helary
https://sr.ht/~brandelune/
@jchelary@sciences.social
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Handling the message:// protocol in Emacs
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
0 siblings, 0 replies; 6+ messages in thread
From: Björn Bidar @ 2024-12-30 4:29 UTC (permalink / raw)
To: Jean-Christophe Helary via Users list for the GNU Emacs text editor
Cc: Jean-Christophe Helary
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")
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Handling the message:// protocol in Emacs
@ 2024-12-30 14:01 Jean-Christophe Helary via Users list for the GNU Emacs text editor
2024-12-30 18:54 ` tpeplt
0 siblings, 1 reply; 6+ messages in thread
From: Jean-Christophe Helary via Users list for the GNU Emacs text editor @ 2024-12-30 14:01 UTC (permalink / raw)
To: Björn Bidar
Cc: Jean-Christophe Helary via Users list for the GNU Emacs text editor
> On Dec 30, 2024, at 13:29, Björn Bidar <bjorn.bidar@thaodan.de> wrote:
>
> 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")
Björn,
Thank you very much for the reply.
In fact, when I use M-x browse-url on a message://[string] URL, Emacs properly opens it in the mail application.
I guess it might be an org-mode issue then, since the org-mode file where I have the URL properly recognizes a https:// URL as being clickable but not a message:// URL.
It looks like it’s an already solved issue, though:
https://emacs.stackexchange.com/questions/45403/is-it-possible-to-create-clickable-links-to-macos-mail-app-email-via-message
It would be good if org-mode could recognize that protocol out of the box...
--
Jean-Christophe Helary
https://sr.ht/~brandelune/
@jchelary@sciences.social
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Handling the message:// protocol in Emacs
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>
0 siblings, 2 replies; 6+ messages in thread
From: tpeplt @ 2024-12-30 18:54 UTC (permalink / raw)
To: Jean-Christophe Helary via Users list for the GNU Emacs text editor
Cc: Björn Bidar, Jean-Christophe Helary
Jean-Christophe Helary via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
>
> In fact, when I use M-x browse-url on a message://[string] URL, Emacs
> properly opens it in the mail application.
>
> I guess it might be an org-mode issue then, since the org-mode file
> where I have the URL properly recognizes a https:// URL as being
> clickable but not a message:// URL.
>
> It looks like it’s an already solved issue, though:
> https://emacs.stackexchange.com/questions/45403/is-it-possible-to-create-clickable-links-to-macos-mail-app-email-via-message
>
> It would be good if org-mode could recognize that protocol out of the box...
Because ‘org-mode’ is included with Emacs, you might consider reporting
this behavior using M-x report-emacs-bug, either as a desired feature
for Emacs or as a mistake in how Emacs is working. If it is the latter,
then consider looking at the Emacs user manual’s chapter on Org mode,
(info "(emacs) Org Mode"), and demonstrating how Emacs’s behavior does
not match the manual.
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Handling the message:// protocol in Emacs
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>
1 sibling, 0 replies; 6+ messages in thread
From: Björn Bidar @ 2025-01-01 1:37 UTC (permalink / raw)
To: tpeplt
Cc: Jean-Christophe Helary via Users list for the GNU Emacs text editor,
Jean-Christophe Helary
tpeplt <tpeplt@gmail.com> writes:
> Jean-Christophe Helary via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> writes:
>
>>
>> In fact, when I use M-x browse-url on a message://[string] URL, Emacs
>> properly opens it in the mail application.
>>
>> I guess it might be an org-mode issue then, since the org-mode file
>> where I have the URL properly recognizes a https:// URL as being
>> clickable but not a message:// URL.
>>
>> It looks like it’s an already solved issue, though:
>> https://emacs.stackexchange.com/questions/45403/is-it-possible-to-create-clickable-links-to-macos-mail-app-email-via-message
>>
>> It would be good if org-mode could recognize that protocol out of the box...
>
> Because ‘org-mode’ is included with Emacs, you might consider reporting
> this behavior using M-x report-emacs-bug, either as a desired feature
> for Emacs or as a mistake in how Emacs is working. If it is the latter,
> then consider looking at the Emacs user manual’s chapter on Org mode,
> (info "(emacs) Org Mode"), and demonstrating how Emacs’s behavior does
> not match the manual.
I agree but please use M-x org-submit-bug-report instead.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Handling the message:// protocol in Emacs
[not found] ` <67749c6e.e90a0220.291618.33c5SMTPIN_ADDED_BROKEN@mx.google.com>
@ 2025-01-02 3:40 ` tpeplt
0 siblings, 0 replies; 6+ messages in thread
From: tpeplt @ 2025-01-02 3:40 UTC (permalink / raw)
To: Björn Bidar
Cc: Jean-Christophe Helary via Users list for the GNU Emacs text editor,
Jean-Christophe Helary
Björn Bidar <bjorn.bidar@thaodan.de> writes:
>>> It would be good if org-mode could recognize that protocol out of the box...
>>
>> Because ‘org-mode’ is included with Emacs, you might consider reporting
>> this behavior using M-x report-emacs-bug, either as a desired feature
>> for Emacs or as a mistake in how Emacs is working. If it is the latter,
>> then consider looking at the Emacs user manual’s chapter on Org mode,
>> (info "(emacs) Org Mode"), and demonstrating how Emacs’s behavior does
>> not match the manual.
>
> I agree but please use M-x org-submit-bug-report instead.
Thanks. I was not aware of that command.
Using: C-h a bug report RET
produces the following list in Emacs 29.4:
debbugs-org-emacs-release-blocking-reports M-x ... RET
Show the reports that are blocking an Emacs release.
lm-report-bug M-x ... RET
Report a bug in the package currently being visited to its maintainer.
org-submit-bug-report M-x ... RET
Submit a bug report on Org via mail.
package-report-bug M-x ... RET
Prepare a message to send to the maintainers of a package.
report-emacs-bug <menu-bar> <help-menu> <send-emacs-bug-report>
Report a bug in GNU Emacs.
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-01-02 3:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- 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
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).