* Firefox/Mozilla default browser
@ 2005-07-13 16:50 Lance Hoffmeyer
2005-07-13 18:42 ` Harald Maier
2005-07-13 18:47 ` Steven Woody
0 siblings, 2 replies; 3+ messages in thread
From: Lance Hoffmeyer @ 2005-07-13 16:50 UTC (permalink / raw)
Hey,
I am having problems getting mozilla as my default browser.
I have put
(setq browse-url-browser-function 'browse-url-mozilla)
in both ~/.xemacs/custom.el and ~/.gnus
but whenever I click on a link in rss://whatever it still
brings up the link inline via w3 or w3m. I wouldn't mind
using w3/w3m (what is the difference between the two of these?)
but
1) as slow as firefox is loading up I think w3 is slower
2) W3 does not load a lot of the pages properly
Maybe part of this is my configuration of W3 but until I figure it
out I would prefer to use firefox as my default browser.
Perhaps there is a way to have xemacs ask me which browser I want to
use (firefox or w3m) when I RET on a link? Or, perhaps I can add
some conditions for either firefox or w3m to load when in a certain
RSS group? Any thoughts? I know just enough about lisp to be really
dangerous! Wish one could use perl or python instead (no flames please :)
Not that good with these but at least a little more knowledgeable.
Lance
--
Lance Hoffmeyer
lance@augustmail.com
-------------------------------------------------------------------------------
The natural progress of things is for liberty to yield and
governments to gain ground.
-
Thomas Jefferson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Firefox/Mozilla default browser
2005-07-13 16:50 Firefox/Mozilla default browser Lance Hoffmeyer
@ 2005-07-13 18:42 ` Harald Maier
2005-07-13 18:47 ` Steven Woody
1 sibling, 0 replies; 3+ messages in thread
From: Harald Maier @ 2005-07-13 18:42 UTC (permalink / raw)
Lance Hoffmeyer<lance-news@augustmail.com> writes:
> Hey,
>
> I am having problems getting mozilla as my default browser.
> I have put
>
> (setq browse-url-browser-function 'browse-url-mozilla)
>
> in both ~/.xemacs/custom.el and ~/.gnus
>
> but whenever I click on a link in rss://whatever it still
> brings up the link inline via w3 or w3m. I wouldn't mind
> using w3/w3m (what is the difference between the two of these?)
> but
> 1) as slow as firefox is loading up I think w3 is slower
> 2) W3 does not load a lot of the pages properly
In ~/.gnus:
(setq mm-inline-override-types '("text/html"))
In ~/.mailcap
text/html; firefox %s
This works for me. Maybe you have to set over attachement types.
Harald
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Firefox/Mozilla default browser
2005-07-13 16:50 Firefox/Mozilla default browser Lance Hoffmeyer
2005-07-13 18:42 ` Harald Maier
@ 2005-07-13 18:47 ` Steven Woody
1 sibling, 0 replies; 3+ messages in thread
From: Steven Woody @ 2005-07-13 18:47 UTC (permalink / raw)
Lance Hoffmeyer<lance-news@augustmail.com> writes:
> Hey,
>
> I am having problems getting mozilla as my default browser.
> I have put
>
> (setq browse-url-browser-function 'browse-url-mozilla)
>
> in both ~/.xemacs/custom.el and ~/.gnus
>
> but whenever I click on a link in rss://whatever it still
> brings up the link inline via w3 or w3m. I wouldn't mind
> using w3/w3m (what is the difference between the two of these?)
> but
> 1) as slow as firefox is loading up I think w3 is slower
> 2) W3 does not load a lot of the pages properly
>
>
> Maybe part of this is my configuration of W3 but until I figure it
> out I would prefer to use firefox as my default browser.
>
> Perhaps there is a way to have xemacs ask me which browser I want to
> use (firefox or w3m) when I RET on a link? Or, perhaps I can add
> some conditions for either firefox or w3m to load when in a certain
> RSS group? Any thoughts? I know just enough about lisp to be really
> dangerous! Wish one could use perl or python instead (no flames please :)
> Not that good with these but at least a little more knowledgeable.
>
> Lance
if what you want is just lauch firefox or mozilla, here is a smaple for you,
(defun browse-url-firefox-new-tab (url &optional new-window)
"Open URL in a new tab in Firefox."
(interactive (browse-url-interactive-arg "URL: "))
(let ((cmd (shell-command-to-string
(concat "~/src/firefox/mozilla-xremote-client -a any 'openURL("
url ",new-tab)'"))))
(unless (string= "" cmd)
(message "Starting Firefox...")
(start-process (concat "firefox " url) nil "/usr/local/bin/firefox" url)
(message "Starting Firefox...done"))))
(setq browse-url-browser-function 'browse-url-firefox-new-tab)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-13 18:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-13 16:50 Firefox/Mozilla default browser Lance Hoffmeyer
2005-07-13 18:42 ` Harald Maier
2005-07-13 18:47 ` Steven Woody
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 NNTP newsgroup(s).