unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Molen <noSpam@spamAndPotatoes.com>
Subject: get browse-url to use mozilla-firebird
Date: Thu, 12 Feb 2004 19:43:09 GMT	[thread overview]
Message-ID: <m3hdxw6q43.fsf@localhost.localdomain> (raw)


How do I convince emacs 2.3.1's browse-url-at-point to use 
the mozilla-firebird browser instead of the mozilla one?

This works great for Mozilla.

   ; Use Mozilla as default browser on Red Hat 7.3 or 8.0 Linux w/
   ; Gnome support.  (For Emacs 21.2.1 and 21.3.1)
     (setq browse-url-browser-function 'browse-url-gnome-moz)

After 'Google'ing I found some help on getting mozilla-firebird to act
the same way.  This is what I have now.

   ; Use Mozilla Firebird (was Phoenix) on Fedora Core 1
     (defun browse-url-mozilla-firebird (url arg)
       (shell-command 
         (format "/usr/bin/mozilla-firebird -remote 'openURL(%s, new-tab)'" 
            url)))
     (setq browse-url-browser-function 'browse-url-mozilla-firebird)

The browse-url-gnome-moz functions calls the GNOME program
gnome-moz-remote rather than directly calling /usr/bin/mozilla.  This
which seems undesirable to me (since I occasionally use KDE too).

-- 
        {{},             Richard Molen
       (@ @) 
       ,.(_),.           "Furious activity is no substitute for 
  / / ooOo oOoo \  \      understanding" -- H. H. Williams
 / /_____________\  \
/  '             '

             reply	other threads:[~2004-02-12 19:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-12 19:43 Richard Molen [this message]
2004-02-13  0:11 ` get browse-url to use mozilla-firebird Richard Molen

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=m3hdxw6q43.fsf@localhost.localdomain \
    --to=nospam@spamandpotatoes.com \
    /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).