[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: |
Ihor Radchenko |
Subject: |
Re: mailto link issue in 9.5.5 and 9.6.6 |
Date: |
Fri, 09 Jun 2023 09:19:11 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
>> May you elaborate? (Or, better, send a patch)
>
> The typo in https://orgmode.org/worg/org-faq.html#mailto-links
>
> browse-url~browser-function
> ----------^
Fixed.
https://git.sr.ht/~bzg/worg/commit/60bed811
> 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.
This is Emacs bug that should be reported.
I do not think that we need to document every workaround for Emacs bugs.
Especially given that Emacs 29 is just around the corner.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- 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, 2023/06/08
- 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 <=
- Re: mailto link issue in 9.5.5 and 9.6.6, Max Nikulin, 2023/06/09