Subject: bug#15144: 24.3.50; browse-url silently fails

From: JānisDžeriņš <[email-masked]>
Date: Wed, 21 Aug 2013 07:09:28 +0000 (UTC)

Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> Sam Steingold <sds <at> gnu.org> writes:
> 
> > browse-url silently fails:
> >
> > $ emacs -Q
> > M-x browse-url RET http://gnu.org RET
> >
> > the *Messages* buffer now has this:
> >
> > Waiting for process to die...done
> >
> > The google chrome (the default browser) does not display anyting.
> 
> Looks that xdg-open actually returns an error:
> 
> xdg-open http://www.google.fr
> Error: No running window found
> 
> So it is more a bug in xdg-open than a bug in Emacs.

I also have this problem.  And I fixed it by passing NIL instead of 0
as the third parameter (DESTINATION) to CALL-PROCESS in
BROWSE-URL-XDG-OPEN.  T also worked.

--
Jānis