Re: eww-browse-with-external-browser unexpectedly starts up librewolf instead of firefox

[email protected] Mon, 01 Jun 2026 11:01:05 -0400
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
Michael Heerdegen via Users list for the GNU Emacs text
editor <[email protected]> writes:

> Eli Zaretskii <[email protected]> writes:
>
>> See the variable browse-url-firefox-program.  I's a user option, so if
>> the default value is not to your liking, just customize it.
>
> Interesting - if "librewolf" is found, it is preferred over standard
> "firefox" when calculating the default for `browse-url-firefox-program'.
>
> It could be nice to mention `browse-url-firefox-program' in the
> docstring of `browse-url-firefox'.
>

Yes, it’s an oversight/error that a user option that
determines the behavior of a (external) function is not
documented in the docstring of that function.  Possibly,
Eric Fraga might want to report this oversight (M-x
report-emacs-bug).  

There are many such ‘-program’ user options in the
‘browse-url’ package, but they are not causing any problems
because their default values are working for (almost) all
users and so no one is noticing their missing documentation.

As the ‘browse-url’ package description suggests:

  To see what variables are available for customization, type
  `M-x set-variable browse-url TAB'.  Better, use
  `M-x customize-group browse-url'.

-- 
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.