Fedora Linux Support Community & Resources Center
  #1  
Old 8th November 2010, 01:41 PM
mohan.10 Offline
Registered User
 
Join Date: Sep 2008
Posts: 75
linuxchrome
How to set emacs color-theme from .emacs file?

I generally login as root. So followed http://www.emacswiki.org/ColorTheme this link and inserted that code in "/etc/skel/.emacs" file but, the color theme isnt being set when I start emacs. I've to set it manually every time from the emacs editor(Using M-x load-library,color-theme ... ). Can someone please help me out here..thanks
Reply With Quote
  #2  
Old 8th November 2010, 07:54 PM
baschti Offline
Registered User
 
Join Date: Nov 2005
Location: Old Europe
Posts: 377
linuxfedorafirefox
Re: How to set emacs color-theme from .emacs file?

/etc/skel/.emacs is not evaluated on my system.
have you considered to put your stuff in ~/.emacs ?
__________________
my JID: baschti@jabber.ccc.de
Reply With Quote
  #3  
Old 9th November 2010, 02:46 AM
mohan.10 Offline
Registered User
 
Join Date: Sep 2008
Posts: 75
linuxchrome
Smile Re: How to set emacs color-theme from .emacs file?

Thanks..It worked.
Since I'm logging in as root, I didnt have ~/.emacs file. I created it and now it works fine.
Reply With Quote
  #4  
Old 9th November 2010, 09:58 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
linuxfedorafirefox
Re: How to set emacs color-theme from .emacs file?

The /etc/skel stuff is copied to every new account you create with system-config-users. It should never be evaluated from that directory.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
Reply

Tags
colortheme, emacs, file, set

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest Emacs v Fedora Emacs olwe Using Fedora 7 3rd May 2011 06:59 PM
emacs color themes daniel_I_l Using Fedora 1 23rd September 2009 07:08 PM
Linux is only compiling the file from emacs efghi Using Fedora 2 22nd October 2006 03:55 PM
About the spec file in emacs-21.4-2.src.rpm AlaxMAX Using Fedora 2 19th April 2005 08:41 AM


Current GMT-time: 10:47 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat