unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* get browse-url to use mozilla-firebird
@ 2004-02-12 19:43 Richard Molen
  2004-02-13  0:11 ` Richard Molen
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Molen @ 2004-02-12 19:43 UTC (permalink / 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
 / /_____________\  \
/  '             '

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

end of thread, other threads:[~2004-02-13  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12 19:43 get browse-url to use mozilla-firebird Richard Molen
2004-02-13  0:11 ` Richard Molen

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