LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2004, 03:05 PM   #1
spuppett
Member
 
Registered: Feb 2003
Posts: 47

Rep: Reputation: 15
a rediculas Emacs question


Is there something I can do to have emacs start up with syntax highlighting? I don't have a ~/.emacs file, if that is a problem.

Thanks
 
Old 04-12-2004, 03:21 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Sure ...
If you don't have a .emacs yet, emacs will create
it for you - if you're using the graphical front-end,
enable syntax highlighting (it's called font-lock-mode
internally, btw) from the options menu, and then
(from the same menu) save settings.

[edit]
If you're using the text-interface turn highlighting
on by Alt-x font-lock-mode, save it by
Alt-x customize-save-customized
(darn that american spelling ;})
[/edit]


Cheers,
Tink

Last edited by Tinkster; 04-12-2004 at 03:26 PM.
 
  


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
Emacs question tuananhbirm Linux - General 6 07-20-2005 03:55 AM
emacs question greg108 Programming 3 09-25-2004 10:16 AM
Emacs/TeX question guygriffiths Linux - Software 2 04-12-2004 04:10 PM
emacs question Midknight Programming 2 02-04-2003 12:33 AM
emacs question twk Linux - Software 0 05-23-2002 08:00 PM


All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration