Subject: bug#39349: browse-url-of-dired-file should respect directory symlinks

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 31 Jul 2020 14:04:23 +0200

積丹尼 Dan Jacobson <[email-masked]> writes:

>>>>>> "LI" == Lars Ingebrigtsen <[email-masked]> writes:
>
> LI> Are you seeing this problem if you start emacs with -Q and just
>
> LI> (setq browse-url-browser-function 'browse-url-chromium)  
>
> LI> ?
>
> Indeed, doing that setq makes all the difference.
> With identical runs of
> $ emacs -nw -Q /cf/updates
> apparently without that setq, BROWSER=chromium gets invoked via the
> shell or something, causing the guts of the URL to show.

Ah!  Now I can reproduce it, too, by just not setting
browse-url-browser-function at all.

In my case, that means that 

xdg-open file:///tmp/foo/a.html

but xdg-open then rewrites the URL to chase links before handing it over
to the browser.

*phew*  :-)

But that does mean that this isn't an Emacs bug, so I'm closing this bug
report.  You may want to take up up with whoever is responsible for
xdg-open, perhaps...  Or just set the variable.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no