From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Undefined color error Date: 05 Nov 2004 06:31:14 +0100 Organization: [posted via Easynet Spain] Message-ID: <87sm7ouajh.fsf@naiad.informatimago.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099633025 776 80.91.229.6 (5 Nov 2004 05:37:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 05:37:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 05 06:36:52 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 1CPwmK-00039H-00 for ; Fri, 05 Nov 2004 06:36:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPwuV-0006zK-4o for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Nov 2004 00:45:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!proxad.net!easynet-monga!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 54 Original-NNTP-Posting-Host: 62.93.174.76 Original-X-Trace: DXC=Iej0X\BNkiM45PJEX:URON9faNSh;fPfNK;bf[9]X;CM Original-Xref: shelby.stanford.edu gnu.emacs.help:126360 Original-To: help-gnu-emacs@gnu.org 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:21747 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21747 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 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! -- __Pascal Bourguignon__