mailto link issue in 9.5.5 and 9.6.6

2023-06-04 Thread Scott Randby
Hello, I'm having a problem with mailto links. The problem occurs in Org 9.5.5 (running emacs -q) and Org 9.6.6 at least. It did not occur when I used Org 9.4.6. I do not use Emacs for email (sorry). The documentation states that when browse-url-mailto-function is set to nil, then the setting

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-04 Thread Ihor Radchenko
Scott Randby writes: > I do not use Emacs for email (sorry). The documentation states that when > browse-url-mailto-function is set to nil, then the setting of > browse-url-browse-function will be used. That function is set to > browse-url-default-browser in Org 9.5.5, and it is set to browse-

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-05 Thread Scott Randby
On 6/5/23 02:00, Ihor Radchenko wrote: What will happen if you try M-: (browse-url"mailto:your-em...@blah.com";) ? I get this: Symbol's function definition is void: nil When I execute (browse-url "mailto:sran...@gmail.com";) in the *scratch* buffer, I get the following: Debugger entered--

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-05 Thread Ihor Radchenko
Scott Randby writes: > When I execute (browse-url "mailto:sran...@gmail.com";) in the *scratch* > buffer, I get the following: > > Debugger entered--Lisp error: (void-function nil) >nil("mailto:sran...@gmail.com"; (nil)) >browse-url--mailto("mailto:sran...@gmail.com"; nil) >apply(bro

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-05 Thread Scott Randby
On 6/5/23 15:48, Ihor Radchenko wrote: Scott Randby writes: When I execute (browse-url "mailto:sran...@gmail.com";) in the *scratch* buffer, I get the following: Debugger entered--Lisp error: (void-function nil) nil("mailto:sran...@gmail.com"; (nil)) browse-url--mailto("mailto:sra

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-05 Thread Ihor Radchenko
Scott Randby writes: > (4) I executed (customize-set-variable 'browse-url-mailto-function nil) and > then executed (browse-url "mailto:sran...@gmail.com";). The result gave the > same error messages. This sounds like Emacs bug, and I can reproduce. Please report it to Emacs devs. (M-x report-e

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-06 Thread Max Nikulin
On 06/06/2023 02:21, Scott Randby wrote: Debugger entered--Lisp error: (void-function nil)   nil("mailto:sran...@gmail.com"; (nil))   browse-url--mailto("mailto:sran...@gmail.com"; nil)   apply(browse-url--mailto "mailto:sran...@gmail.com"; nil)   browse-url("mailto:sran...@gmail.com";) Tr

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-06 Thread Scott Randby
On 6/6/23 10:30, Max Nikulin wrote: Try to set `browse-url-mailto-function' to `browse-url-default-browser'. I tried that yesterday and it didn't work.

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-06 Thread Scott Randby
On 6/6/23 02:05, Ihor Radchenko wrote: Scott Randby writes: (4) I executed (customize-set-variable 'browse-url-mailto-function nil) and then executed (browse-url "mailto:sran...@gmail.com";). The result gave the same error messages. This sounds like Emacs bug, and I can reproduce. Please r

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-07 Thread Ihor Radchenko
Max Nikulin 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) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-08 Thread Max Nikulin
On 07/06/2023 19:56, Ihor Radchenko wrote: Max Nikulin 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.ht

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-08 Thread Scott Randby
On 6/8/23 11:47, Max Nikulin wrote: I decided that it is consistent with    nil("mailto:sran...@gmail.com"; (nil))    browse-url--mailto("mailto:sran...@gmail.com"; nil) when `browse-url-mailto-function' is set to nil. However docstring to this variable allows nil (perhaps there is really an

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-09 Thread Ihor Radchenko
Max Nikulin 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/co

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-09 Thread Max Nikulin
On 06/06/2023 21:49, Scott Randby wrote: On 6/6/23 10:30, Max Nikulin wrote: Try to set `browse-url-mailto-function' to `browse-url-default-browser'. I tried that yesterday and it didn't work. It is strange taking into account `browse-url-default-handlers'. I am curious what happens in res

Re: mailto link issue in 9.5.5 and 9.6.6

2023-06-09 Thread Max Nikulin
On 09/06/2023 16:19, Ihor Radchenko wrote: Max Nikulin writes: browse-url~browser-function Fixed. https://git.sr.ht/~bzg/worg/commit/60bed811 Thanks nil("mailto:sran...@gmail.com"; (nil)) when `browse-url-mailto-function' is set to nil. However docstring to this variable allows nil (