unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ken Keefe <kaje@digitalfamily.org>
Subject: Re: Undefined color error
Date: Fri, 05 Nov 2004 00:38:18 -0600	[thread overview]
Message-ID: <1099636698.8720.8.camel@localhost> (raw)
In-Reply-To: <87sm7ouajh.fsf@naiad.informatimago.com>

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!
> 

  reply	other threads:[~2004-11-05  6:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.842.1099622665.8225.help-gnu-emacs@gnu.org>
2004-11-05  5:31 ` Undefined color error Pascal Bourguignon
2004-11-05  6:38   ` Ken Keefe [this message]
     [not found]   ` <mailman.872.1099637438.8225.help-gnu-emacs@gnu.org>
2004-11-05 10:55     ` Pascal Bourguignon
2004-11-05 16:58       ` Ken Keefe
     [not found]       ` <mailman.950.1099674445.8225.help-gnu-emacs@gnu.org>
2004-11-09 17:15         ` Michael Slass
2004-12-28 18:28         ` Tom  Morris
2004-11-05  2:35 Ken Keefe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1099636698.8720.8.camel@localhost \
    --to=kaje@digitalfamily.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).