Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-01-2007, 05:13 PM   #1
LQ Newbie
Registered: Nov 2004
Location: Sydney, Australia
Distribution: Slackware, et al
Posts: 3

Rep: Reputation: 0
Emacs default browser

Greetings all.

I'm using emacs on Slack 11 to write & edit html & css styles. When executing the View Buffer Contents command (C-c C-v), I'm met with the following response: "Searching for program: no such file or directory, netscape" As Netscape is not installed on my computer, nor do I wish to install it, my question is, how does one change the emacs default browser specification from Netscape to Firefox?

Old 01-01-2007, 08:40 PM   #2
Senior Member
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
I found this gem:

In Firefox 1.5, the easiest way is probably to open “Preferences → Tabs” in Firefox and select the “A tab in the most recent window” option for the “Open links from other applications” preference, and then do the following in .emacs

(setq browse-url-generic-program (executable-find "firefox")
browse-url-browser-function 'browse-url-generic)

And here's an example .emacs using firefox:

Hope this helps.
Old 01-02-2007, 12:21 AM   #3
LQ Newbie
Registered: Nov 2004
Location: Sydney, Australia
Distribution: Slackware, et al
Posts: 3

Original Poster
Rep: Reputation: 0

Thanks a million, bsdunix. This works beautifully.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Details about default web Browser & default Email client sudhasmyle Linux - Software 4 06-15-2006 11:45 AM
Need a good class browser for emacs (C++) sleight Linux - Software 0 02-22-2006 10:43 AM
How to Change Default Browser to a new browser banner Linux - General 1 05-13-2005 11:09 PM
Line number in Emacs as default saurya_s Linux - Software 1 01-28-2004 06:37 AM
gaim browser / default browser question hildog Linux - Newbie 2 10-03-2003 09:17 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration