From: Ihor Radchenko <yantar92@posteo.net>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: mailto link issue in 9.5.5 and 9.6.6
Date: Fri, 09 Jun 2023 09:19:11 +0000 [thread overview]
Message-ID: <878rctuh68.fsf@localhost> (raw)
In-Reply-To: <u5st6u$12uj$1@ciao.gmane.io>
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>
next prev parent reply other threads:[~2023-06-09 9:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-05 2:12 mailto link issue in 9.5.5 and 9.6.6 Scott Randby
2023-06-05 6:00 ` Ihor Radchenko
2023-06-05 19:21 ` Scott Randby
2023-06-05 19:48 ` Ihor Radchenko
2023-06-05 21:40 ` Scott Randby
2023-06-06 6:05 ` Ihor Radchenko
2023-06-06 15:00 ` Scott Randby
2023-06-06 14:30 ` Max Nikulin
2023-06-06 14:49 ` Scott Randby
2023-06-09 15:47 ` Max Nikulin
2023-06-07 12:56 ` Ihor Radchenko
2023-06-08 15:47 ` Max Nikulin
2023-06-08 18:28 ` Scott Randby
2023-06-09 9:19 ` Ihor Radchenko [this message]
2023-06-09 15:58 ` Max Nikulin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rctuh68.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=manikulin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.