all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: 15144@debbugs.gnu.org
Subject: bug#15144: 24.3.50; browse-url silently fails
Date: Tue, 20 Aug 2013 19:22:01 +0200	[thread overview]
Message-ID: <87wqng6zwm.fsf@gmail.com> (raw)
In-Reply-To: <87txikl2ub.fsf@gnu.org>

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 






  reply	other threads:[~2013-08-20 17:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 16:54 bug#15144: 24.3.50; browse-url silently fails Sam Steingold
2013-08-20 17:22 ` Thierry Volpiatto [this message]
2013-08-21  7:09   ` JānisDžeriņš
2013-08-21 21:32 ` Paul Eggert
2013-08-22 20:08 ` bug#15144: " Karl Fogel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wqng6zwm.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=15144@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.