unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Problem contacting Firefox from Emacs daemon started as systemd service
Date: Fri, 22 Jan 2021 09:04:15 +0200	[thread overview]
Message-ID: <83tur95u6o.fsf@gnu.org> (raw)
In-Reply-To: <87pn1yt3jn.fsf@k-7.ch> (message from Sébastien Gendre on Thu, 21 Jan 2021 21:53:32 +0100)

> From: Sébastien Gendre <seb@k-7.ch>
> Cc: help-gnu-emacs@gnu.org
> Date: Thu, 21 Jan 2021 21:53:32 +0100
> 
> If I run the Firefox command from a shell in Emacs, I got the same
> problem as when I try to open an url from Emacs.

Maybe some shell alias is involved?

I don't have a complete and ready solution to your problem, it's
something you will have to investigate.  I thought I'd give you the
information I do have to point you in the right direction, since you
said you don't find anything pertinent on the Internet.  The problem
here is that you need to tell Firefox to use the existing running
instance to display the new URL.  Both browse-url-browser-function
and/or browse-url-default-browser should be taught to do that.  I
suggest to try using browse-url-firefox as your first step.  If that
works, customize browse-url-browser-function to use it.  If that
doesn't work, I suggest to search the Firefox Help information for the
solution to this problem, starting from the error message you get.



      reply	other threads:[~2021-01-22  7:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 19:14 Problem contacting Firefox from Emacs daemon started as systemd service Sébastien Gendre
2021-01-21 20:01 ` Eli Zaretskii
2021-01-21 20:53   ` Sébastien Gendre
2021-01-22  7:04     ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83tur95u6o.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).