unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alain Ketterlin <alain@dpt-info.u-strasbg.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: browse-url updates?
Date: Sun, 08 Mar 2015 09:45:54 +0100	[thread overview]
Message-ID: <871tkznagt.fsf@dpt-info.u-strasbg.fr> (raw)
In-Reply-To: mdffhh$rpe$1@dont-email.me

Dan Espen <despen@verizon.net> writes:

> My question is about how I get browse-url updates.
>
> I just installed Fedora 21, which gives me Firefox 36,
> and
> GNU Emacs 24.4.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.14.5).
>
> When I click on links in Emacs I get a new empty Firefox window.
>
> So, I did a search and found this:
>
> http://www.emacswiki.org/emacs/BrowseUrl
>
> I copied the browse-url-firefox function and evaluated it
> and that fixed the problem.

I've moved to browse-url-generic, and firefox seems to do the right
thing. This is what custom-set-variables has:

 '(browse-url-browser-function (quote browse-url-generic))
 '(browse-url-generic-program "firefox")

(I'm on linux too, I have no idea whether this works on other systems.)

It looks like firefox will revert to accept -remote again. But their
main difficulty is with "profiles", afaiu. If you use profiles, or have
specific firefox options, then you may also have to set
browse-url-generic-args.

-- Alain.


      parent reply	other threads:[~2015-03-08  8:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 18:21 browse-url updates? Dan Espen
2015-03-07 18:35 ` HASM
2015-03-07 19:48 ` Óscar Fuentes
2015-03-08  4:55   ` Yuri Khan
     [not found] ` <mailman.1603.1425757725.31049.help-gnu-emacs@gnu.org>
2015-03-07 20:44   ` Dan Espen
2015-03-08  8:45 ` Alain Ketterlin [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=871tkznagt.fsf@dpt-info.u-strasbg.fr \
    --to=alain@dpt-info.u-strasbg.fr \
    --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).