[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Undefined color error
From: |
Ken Keefe |
Subject: |
Re: Undefined color error |
Date: |
Fri, 05 Nov 2004 00:38:18 -0600 |
On Fri, 2004-11-05 at 06:31 +0100, Pascal Bourguignon wrote:
> Ken Keefe <kaje@digitalfamily.org> writes:
>
> > Hello, I recently installed the latest Mandrake Linux distro and emacs
> > seems to be broken. Here is what happens when I try to start emacs from
> > a terminal:
> >
> > $ emacs
> > Undefined color: "black"
> >
> > And that is all that happens. I have tried reinstalling it, I even
> > installed it from the tarball available on gnu.org. Same thing. I am
> > guessing that this might be a problem with X or something? I can do
> > emacs -nw and it works, but I like the X version. I have completely
> > removed my .emacs file, so I don't think it can be that.
>
> My guess is that it's a X problem too. Check the ~/.Xresources file
>
> You may have lines like:
>
> emacs*Background: white
> emacs*Foreground: black
> emacs*pointerColor: red
> emacs*cursorColor: black
>
> X keeps a dictionnary of color names in files named rgb.txt. It seems
> emacs has a copy in its etc directory too:
>
> /usr/X11R6/lib/X11/rgb.txt
> /usr/share/emacs/21.3/etc/rgb.txt
I checked these files and both have RGB definitions for black. Any other
ideas? I recently ran a java program at the command line and received
the same error, so it seems to not be merely an emacs problem...
Thanks,
Ken
>
> These files contains RGB values in decimal followed by the name of the
> color:
>
> 255 255 250 white
> 255 250 250 snow
> 248 248 255 ghost white
> 248 248 255 GhostWhite
> 245 245 245 white smoke
> 245 245 245 WhiteSmoke
> ...
> 255 0 0 red
> ...
> 0 255 0 green
> ...
> 0 0 255 blue
> ...
> 0 0 0 black
>
>
> > Thanks ahead of time for your help. I love emacs!! I feel like I have
> > been separated from a brother or something!
>