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 11:55:43 +0100 Organization: [posted via Easynet Spain] Message-ID: <87oeictvio.fsf@naiad.informatimago.com> References: <87sm7ouajh.fsf@naiad.informatimago.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099652249 11020 80.91.229.6 (5 Nov 2004 10:57:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 10:57:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 05 11:57:16 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 1CQ1mN-00032j-00 for ; Fri, 05 Nov 2004 11:57:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ1uZ-0004wr-G6 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Nov 2004 06:05:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!easynet-quince!easynet.net!easynet-post1!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 35 Original-NNTP-Posting-Host: 62.93.174.76 Original-X-Trace: DXC=:jBOLE]Nc[KG_4JfWiX>lJEY<>`XO4V7Mc=hN:9\O26K Original-Xref: shelby.stanford.edu gnu.emacs.help:126364 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:21752 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21752 Ken Keefe writes: > > /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... Then, check whether it's well configured in /etc/X11/XF86Config (assuming you're using a XFree X server). There should be a section such as: Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ... EndSection (the extension should not be provided, because it can be .txt or .db). Which makes me think that perhaps the file format of rgb.txt is more precise. My file has spaces between (or after) numbers, and two tabulations before the name: ... 255 250 250^I^Isnow 248 248 255^I^Ighost white ... 252 252 252 ^I^Igrey99 255 255 255 ^I^Igray100 255 255 255 ^I^Igrey100 ... You may check quickly with: cat -t /usr/X11R6/lib/X11/rgb.txt -- __Pascal Bourguignon__