emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scott Randby <srandby@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: mailto link issue in 9.5.5 and 9.6.6
Date: Mon, 5 Jun 2023 17:40:43 -0400	[thread overview]
Message-ID: <2c17662e-a7db-d7ad-a825-0c1a47d51d2f@gmail.com> (raw)
In-Reply-To: <87ttvllmgs.fsf@localhost>



On 6/5/23 15:48, Ihor Radchenko wrote:
> Scott Randby <srandby@gmail.com> writes:
> 
>> When I execute (browse-url "mailto:srandby@gmail.com") in the *scratch* buffer, I get the following:
>>
>> Debugger entered--Lisp error: (void-function nil)
>>     nil("mailto:srandby@gmail.com" (nil))
>>     browse-url--mailto("mailto:srandby@gmail.com" nil)
>>     apply(browse-url--mailto "mailto:srandby@gmail.com" nil)
>>     browse-url("mailto:srandby@gmail.com")
> 
> Then, it looks like mis-configured `browse-url'.
> Check your configuration.
> 

Here are some steps I tried following your advice.

(1) I eliminated all customizations that involved `browse-url' from my configuration and restarted Emacs (Emacs 28.2, Org 9.6.6).

(2) I executed (browse-url "mailto:srandby@gmail.com") and the buffer to edit an email appeared.

(3) I executed (browse-url "https://orgmode.org/") and the Org Mode site opened in Firefox.

(4) I executed (customize-set-variable 'browse-url-mailto-function nil) and then executed (browse-url "mailto:srandby@gmail.com"). The result gave the same error messages.

(5) I quit Emacs and ran `emacs -q' (Emacs 28.2, Org 9.5.5).

(6) I executed (browse-url "mailto:srandby@gmail.com") and the buffer to edit an email appeared.

(7) I executed (browse-url "https://orgmode.org/") and the Org Mode site opened in Firefox.

(8) I executed (customize-set-variable 'browse-url-mailto-function nil) and then executed (browse-url "mailto:srandby@gmail.com"). The result gave the same error messages.

I'm not sure how my configuration can be at fault when `emacs -q' gives the same result. I'm not sure what to do now.


  reply	other threads:[~2023-06-05 21:41 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 [this message]
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
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

  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=2c17662e-a7db-d7ad-a825-0c1a47d51d2f@gmail.com \
    --to=srandby@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).