emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: mailto link issue in 9.5.5 and 9.6.6
Date: Thu, 8 Jun 2023 22:47:40 +0700	[thread overview]
Message-ID: <u5st6u$12uj$1@ciao.gmane.io> (raw)
In-Reply-To: <87cz27ctws.fsf@localhost>

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


Looking at 
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.

  reply	other threads:[~2023-06-08 15:48 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 [this message]
2023-06-08 18:28           ` Scott Randby
2023-06-09  9:19           ` Ihor Radchenko
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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='u5st6u$12uj$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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 public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).