When I add a mailto link with
C-c C-l, the closing
> is missing.
If I enter:
Leaving the description blank, I get a link like
If I end with
>>, the link is correct. If I enter it with markup like below, it works.
This comes from the following snippet of
org-insert-link (Emacs 24.4.1)
(if (and (string-match org-plain-link-re link) (not (string-match org-ts-regexp link))) ;; URL-like link, normalize the use of angular brackets. (setq link (org-remove-angle-brackets link)))
org-ts-regexp is one way to achieve this. These are pretty impressive expressions, which looks a bit intimidating to touch.
I understand that
<> tags are used by org, and this is the likely reason for these types of mail links not getting treated like one would naively think, but I also can't believe I'm the only one that uses addresses of this type.
So has anyone tweaked emacs org to accept this, or is it a bug, or is this address format considered evil?