[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mailto link issue in 9.5.5 and 9.6.6
From: |
Max Nikulin |
Subject: |
Re: mailto link issue in 9.5.5 and 9.6.6 |
Date: |
Thu, 8 Jun 2023 22:47:40 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 07/06/2023 19:56, Ihor Radchenko wrote:
Max Nikulin <manikulin@gmail.com> writes:
It seems https://orgmode.org/worg/org-faq.html#mailto-links requires an
update for Emacs-28 (besides a typo with "~" instead of "-").
May you elaborate? (Or, better, send a patch)
The typo in https://orgmode.org/worg/org-faq.html#mailto-links
browse-url~browser-function
----------^
Looking at
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c4adfbae24d9
Allow for custom URL handlers in browse-url.
(included into Emacs-28)
+(defun browse-url--mailto (url &rest args)
+ "Calls `browse-url-mailto-function' with URL and ARGS."
+ (funcall browse-url-mailto-function url args))
I decided that it is consistent with
nil("mailto:srandby@gmail.com" (nil))
browse-url--mailto("mailto:srandby@gmail.com" nil)
when `browse-url-mailto-function' is set to nil. However docstring to
this variable allows nil (perhaps there is really an Emacs bug). Now I
am puzzled why setting `browse-url-mailto-function' to
`browse-url-default-browser' does not help. I have no idea what should
be suggested to users instead of nil.
- Re: mailto link issue in 9.5.5 and 9.6.6, (continued)
- Re: mailto link issue in 9.5.5 and 9.6.6, Max Nikulin, 2023/06/06
- Re: mailto link issue in 9.5.5 and 9.6.6, Scott Randby, 2023/06/06
- Re: mailto link issue in 9.5.5 and 9.6.6, Max Nikulin, 2023/06/09
- Re: mailto link issue in 9.5.5 and 9.6.6, Ihor Radchenko, 2023/06/07
- Re: mailto link issue in 9.5.5 and 9.6.6,
Max Nikulin <=
- Re: mailto link issue in 9.5.5 and 9.6.6, Scott Randby, 2023/06/08
- Re: mailto link issue in 9.5.5 and 9.6.6, Ihor Radchenko, 2023/06/09
- Re: mailto link issue in 9.5.5 and 9.6.6, Max Nikulin, 2023/06/09