Hello,
Jean-Christophe Helary <
address@hidden> writes:
I'm pasting a message:// link into an org-mode file but it fails to be
recognized as a link that should open in a mail client.
What is a simple way to have org-mode recognize such links ?
One simple way is to define "message:" as an alias for "mailto:", which
is the Org syntax for such links. This is done with
`org-link-abbrev-alist' variable, or in-buffer "LINK" keyword:
(setq org-link-abbrev-alist '(("message" . "mailto")))
One drawback is that you cannot write plain links with abbreviations. So
[[
message:address@hidden]] works, but message:@
address@hidden does not.
If that is an issue, you can also define a new link with
`org-link-set-parameters':
(org-link-set-parameters "message"
:follow (lambda (path) (browse-url (concat "mailto:" path))))
HTH,
Regards,
--
Nicolas Goaziou