GNU bug report logs -
#15144
24.3.50; browse-url silently fails
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15144 in the body.
You can then email your comments to 15144 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15144
; Package
emacs
.
(Tue, 20 Aug 2013 16:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
sds <at> gnu.org
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 20 Aug 2013 16:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
In GNU Emacs 24.3.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)
of 2013-08-20 on t520sds
Bzr revision: 113958 michael.albinus <at> gmx.de-20130820100413-uo3uupjgot4vxnl1
Windowing system distributor `The X.Org Foundation', version 11.0.11303000
System Description: Ubuntu 13.04
Configured using:
`configure --with-wide-int'
Important settings:
value of $LC_COLLATE: C
value of $LANG: C
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 13.04 (raring) X 11.0.11303000
http://www.childpsy.net/ http://camera.org http://thereligionofpeace.com
http://mideasttruth.com http://palestinefacts.org http://pmw.org.il
When told to go to hell, ask for directions.
Merged 15084 15144.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 20 Aug 2013 16:59:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15144
; Package
emacs
.
(Tue, 20 Aug 2013 17:23:01 GMT)
Full text and
rfc822 format available.
Message #10 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15144
; Package
emacs
.
(Wed, 21 Aug 2013 15:15:02 GMT)
Full text and
rfc822 format available.
Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Wed, 21 Aug 2013 21:33:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
sds <at> gnu.org
:
bug acknowledged by developer.
(Wed, 21 Aug 2013 21:33:03 GMT)
Full text and
rfc822 format available.
Message #18 received at 15144-done <at> debbugs.gnu.org (full text, mbox):
Thanks, I reproduced the bug on Ubuntu 13.04 x86-64
and installed a fix as trunk bzr 113969.
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Wed, 21 Aug 2013 21:33:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Peter <mailing_lists <at> petervasil.net>
:
bug acknowledged by developer.
(Wed, 21 Aug 2013 21:33:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15144
; Package
emacs
.
(Thu, 22 Aug 2013 20:09:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 15144 <at> debbugs.gnu.org (full text, mbox):
Thank you, Paul (and Jānis)! This was biting me too, and I hadn't had
time to debug it yet. I was getting ready to, then updated and saw the
fix (which works here).
-Karl
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 20 Sep 2013 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.