all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15144: 24.3.50; browse-url silently fails
@ 2013-08-20 16:54 Sam Steingold
  2013-08-20 17:22 ` Thierry Volpiatto
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sam Steingold @ 2013-08-20 16:54 UTC (permalink / raw
  To: 15144

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@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15144: 24.3.50; browse-url silently fails
  2013-08-20 16:54 bug#15144: 24.3.50; browse-url silently fails Sam Steingold
@ 2013-08-20 17:22 ` Thierry Volpiatto
  2013-08-21  7:09   ` JānisDžeriņš
  2013-08-21 21:32 ` Paul Eggert
  2013-08-22 20:08 ` bug#15144: " Karl Fogel
  2 siblings, 1 reply; 5+ messages in thread
From: Thierry Volpiatto @ 2013-08-20 17:22 UTC (permalink / raw
  To: 15144

Sam Steingold <sds@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 






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15144: 24.3.50; browse-url silently fails
  2013-08-20 17:22 ` Thierry Volpiatto
@ 2013-08-21  7:09   ` JānisDžeriņš
  0 siblings, 0 replies; 5+ messages in thread
From: JānisDžeriņš @ 2013-08-21  7:09 UTC (permalink / raw
  To: 15144

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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15144: 24.3.50; browse-url silently fails
  2013-08-20 16:54 bug#15144: 24.3.50; browse-url silently fails Sam Steingold
  2013-08-20 17:22 ` Thierry Volpiatto
@ 2013-08-21 21:32 ` Paul Eggert
  2013-08-22 20:08 ` bug#15144: " Karl Fogel
  2 siblings, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2013-08-21 21:32 UTC (permalink / raw
  To: Sam Steingold; +Cc: 15144-done

Thanks, I reproduced the bug on Ubuntu 13.04 x86-64
and installed a fix as trunk bzr 113969.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#15144: browse-url silently fails
  2013-08-20 16:54 bug#15144: 24.3.50; browse-url silently fails Sam Steingold
  2013-08-20 17:22 ` Thierry Volpiatto
  2013-08-21 21:32 ` Paul Eggert
@ 2013-08-22 20:08 ` Karl Fogel
  2 siblings, 0 replies; 5+ messages in thread
From: Karl Fogel @ 2013-08-22 20:08 UTC (permalink / raw
  To: 15144

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-22 20:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 16:54 bug#15144: 24.3.50; browse-url silently fails Sam Steingold
2013-08-20 17:22 ` Thierry Volpiatto
2013-08-21  7:09   ` JānisDžeriņš
2013-08-21 21:32 ` Paul Eggert
2013-08-22 20:08 ` bug#15144: " Karl Fogel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.