LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-01-2007, 05:13 PM   #1
monkeymind
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?

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

Rep: Reputation: 78
I found this gem:

http://www.emacswiki.org/cgi-bin/wiki/BrowseUrl

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:

http://www.metasyntax.net/unix/dot-emacs.html

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

Original Poster
Rep: Reputation: 0
Fixed!

Thanks a million, bsdunix. This works beautifully.
 
  


Reply


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


All times are GMT -5. The time now is 01:51 AM.

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