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 10:58:02 -0600 Message-ID: <1099673882.7669.3.camel@localhost> References: <87sm7ouajh.fsf@naiad.informatimago.com> <87oeictvio.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 1099674153 13645 80.91.229.6 (5 Nov 2004 17:02:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 17:02:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 05 18:02:23 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 1CQ7Tj-0007bZ-00 for ; Fri, 05 Nov 2004 18:02:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ7bv-0005o2-Tk for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Nov 2004 12:10:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQ7YZ-0003OO-3Y for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 12:07:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQ7YX-0003LW-Ih for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 12:07:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ7YX-0003Kd-15 for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 12:07:21 -0500 Original-Received: from [216.121.191.6] (helo=server1.olicentral.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQ7Q2-0000eu-OE for help-gnu-emacs@gnu.org; Fri, 05 Nov 2004 11:58:35 -0500 Original-Received: from 129.229.21.95 (dhcp-21-95.cecer.army.mil [129.229.21.95]) by server1.olicentral.com (8.9.3p2/8.9.3) with ESMTP id IAA15046 for ; Fri, 5 Nov 2004 08:57:52 -0800 Original-To: help-gnu-emacs@gnu.org In-Reply-To: <87oeictvio.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:21762 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21762 That was it!! Thank you so much! It turns out my RgbPath was this: RgbPath "/usr/X11R6/lib/X11/rgb.txt" I dropped the txt, restarted X, and everything is lovely again. Thanks again! Ken On Fri, 2004-11-05 at 11:55 +0100, Pascal Bourguignon wrote: > 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 >