Hello, Jean-Christophe Helary <brandel...@gmail.com> 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:f...@bar.baz]] works, but message:@f...@bar.baz 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