Fedora Linux Support Community & Resources Center
  #1  
Old 6th May 2007, 10:07 PM
galois Offline
Registered User
 
Join Date: Nov 2006
Posts: 17
emacs

I have this problem for sometime now:

When I try to start emacs I get "color is black" . Any ideals? Also what is the best way of getting emacs going, I am using FC 5. Thanks a million
Reply With Quote
  #2  
Old 6th May 2007, 11:37 PM
galois Offline
Registered User
 
Join Date: Nov 2006
Posts: 17
Quote:
Originally Posted by galois
I have this problem for sometime now:

When I try to start emacs I get "color is black" . Any ideals? Also what is the best way of getting emacs going, I am using FC 5. Thanks a million
Sorry it should be: Undefined color: "black"
Reply With Quote
  #3  
Old 7th May 2007, 12:02 AM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,612
This is usually a problem with the X server not using the correct RgbPath, which was changed starting with FC5. Look in your /etc/X11/xorg.conf for a line like this:

RgbPath "/usr/X11R6/lib/X11/rgb"

Change that line to use the new location:

RgbPath "/usr/share/X11/rgb"

You'll have to restart X for the change to take effect. Emacs should then be able to figure out the correct definition for the color black. The /usr/share/X11/rgb.txt file contains all the definitions of the colors, in RGB format. Note that you don't need the .txt extension when putting that filename in xorg.conf (in fact, putting the .txt extension there will cause it to not get read).
Reply With Quote
  #4  
Old 7th May 2007, 02:00 AM
galois Offline
Registered User
 
Join Date: Nov 2006
Posts: 17
Quote:
Originally Posted by RupertPupkin
This is usually a problem with the X server not using the correct RgbPath, which was changed starting with FC5. Look in your /etc/X11/xorg.conf for a line like this:

RgbPath "/usr/X11R6/lib/X11/rgb"

Change that line to use the new location:

RgbPath "/usr/share/X11/rgb"

You'll have to restart X for the change to take effect. Emacs should then be able to figure out the correct definition for the color black. The /usr/share/X11/rgb.txt file contains all the definitions of the colors, in RGB format. Note that you don't need the .txt extension when putting that filename in xorg.conf (in fact, putting the .txt extension there will cause it to not get read).
Thanks for the help; it works very nicely.
Reply With Quote
Reply

Tags
emacs

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
I use Emacs for... pwca Linux Chat 19 12th May 2009 07:45 PM
Emacs GUI lawkay Using Fedora 6 27th April 2009 12:21 AM
Where is .emacs in FC2? newdude82_2000 EOL (End Of Life) Versions 4 4th December 2004 07:55 PM


Current GMT-time: 09:26 (Thursday, 31-07-2014)

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