GNU bug report logs - #15144
24.3.50; browse-url silently fails

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Tue, 20 Aug 2013 16:56:02 UTC

Severity: normal

Merged with 15084

Fixed in version 24.3.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: 15144 <at> debbugs.gnu.org
Subject: bug#15144: 24.3.50; browse-url silently fails
Date: Tue, 20 Aug 2013 19:22:01 +0200
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.
Though the function calling it should use `start-process` instead of
`call-process` IMO.

The other functions calling directly a browser seem to works.
Bypassing xdg-open function work around this bug:

(defvar browse-url-never-use-xdg-open t)
(defadvice browse-url-can-use-xdg-open (around no-xdg-open activate)
  (unless browse-url-never-use-xdg-open
    ad-do-it))
 
-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





This bug report was last modified 11 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.