From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ken Keefe Newsgroups: gmane.emacs.help Subject: Re: Undefined color error Date: Fri, 05 Nov 2004 00:38:18 -0600 Message-ID: <1099636698.8720.8.camel@localhost> References: <87sm7ouajh.fsf@naiad.informatimago.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099636957 7582 80.91.229.6 (5 Nov 2004 06:42:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 06:42:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 05 07:42:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPxnj-0005jf-00 for ; Fri, 05 Nov 2004 07:42:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPxvu-0007pd-85 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Nov 2004 01:50:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPxvh-0007ou-C3 for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 01:50:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPxvf-0007oB-RB for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 01:50:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPxvf-0007o2-NJ for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 01:50:35 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CPxmp-0005O2-2W for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 01:41:27 -0500 Original-Received: from [216.121.191.6] (helo=server1.olicentral.com) by mx20.gnu.org with esmtp (Exim 4.34) id 1CPxmF-0003nj-Vj for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 01:40:52 -0500 Original-Received: from 192.168.1.103 (client-209-107-225-145.consolidated.net [209.107.225.145]) by server1.olicentral.com (8.9.3p2/8.9.3) with ESMTP id WAA27608 for ; Thu, 4 Nov 2004 22:37:48 -0800 Original-To: help-gnu-emacs@gnu.org In-Reply-To: <87sm7ouajh.fsf@naiad.informatimago.com> X-Mailer: Evolution 2.0.1-1mdk X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21748 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21748 On Fri, 2004-11-05 at 06:31 +0100, Pascal Bourguignon wrote: > Ken Keefe 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! >