From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David J. Biesack" Newsgroups: gmane.emacs.bugs Subject: bug#8250: 23.3; set-backrgound-color sets incorrect color Date: Thu, 17 Mar 2011 09:46:57 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: dough.gmane.org 1300370906 13053 80.91.229.12 (17 Mar 2011 14:08:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 14:08:26 +0000 (UTC) Cc: 8250@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 17 15:08:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0DsC-000143-RQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Mar 2011 15:08:21 +0100 Original-Received: from localhost ([127.0.0.1]:45994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0DsC-0005fD-35 for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Mar 2011 10:08:20 -0400 Original-Received: from [140.186.70.92] (port=42946 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0Drt-0005SV-TL for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2011 10:08:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0Dqu-0005Jk-BN for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2011 10:07:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0Dqu-0005Jg-A6 for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2011 10:07:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q0DYY-0000q5-AX; Thu, 17 Mar 2011 09:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "David J. Biesack" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Mar 2011 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8250 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8250-submit@debbugs.gnu.org id=B8250.13003696293158 (code B ref 8250); Thu, 17 Mar 2011 13:48:02 +0000 Original-Received: (at 8250) by debbugs.gnu.org; 17 Mar 2011 13:47:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0DXh-0000ot-9X for submit@debbugs.gnu.org; Thu, 17 Mar 2011 09:47:09 -0400 Original-Received: from ch1outboundpool.messaging.microsoft.com ([216.32.181.183]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0DXf-0000oN-1D for 8250@debbugs.gnu.org; Thu, 17 Mar 2011 09:47:08 -0400 Original-Received: from mail214-ch1-R.bigfish.com (216.32.181.174) by CH1EHSOBE010.bigfish.com (10.43.70.60) with Microsoft SMTP Server id 14.1.225.8; Thu, 17 Mar 2011 13:47:01 +0000 Original-Received: from mail214-ch1 (localhost.localdomain [127.0.0.1]) by mail214-ch1-R.bigfish.com (Postfix) with ESMTP id 5146B1B700B3 for <8250@debbugs.gnu.org>; Thu, 17 Mar 2011 13:47:01 +0000 (UTC) X-SpamScore: -2 X-BigFish: S-2(zz14e0M2f55kzz1202hzz8275bhz2fh2a8h668h62h) X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:mercav04d.na.sas.com; RD:mercav04d.na.sas.com; EFVD:NLI Original-Received: from mail214-ch1 (localhost.localdomain [127.0.0.1]) by mail214-ch1 (MessageSwitch) id 1300369621153633_13282; Thu, 17 Mar 2011 13:47:01 +0000 (UTC) Original-Received: from CH1EHSMHS011.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.242]) by mail214-ch1.bigfish.com (Postfix) with ESMTP id 223331868050 for <8250@debbugs.gnu.org>; Thu, 17 Mar 2011 13:47:01 +0000 (UTC) Original-Received: from mercav04d.na.sas.com (149.173.6.147) by CH1EHSMHS011.bigfish.com (10.43.70.11) with Microsoft SMTP Server (TLS) id 14.1.225.8; Thu, 17 Mar 2011 13:47:00 +0000 X-TM-IMSS-Message-ID: <2e7968b20005b7c9@mercav04d.na.sas.com> Original-Received: from D72933.us.sas.com ([10.40.16.229]) by mercav04d.na.sas.com ([10.36.10.9]) with ESMTP (TREND IMSS SMTP Service 7.1) id 2e7968b20005b7c9 ; Thu, 17 Mar 2011 09:46:57 -0400 In-Reply-To: <83fwqpqthx.fsf@gnu.org> (message from Eli Zaretskii on Mon, 14 Mar 2011 23:31:22 +0200) X-OriginatorOrg: sas.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 17 Mar 2011 09:48:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45099 Archived-At: yes, I did have a $HOME/rbg.txt My HOME is C:/djb so the file is c:/djb/rgb.txt (length (x-load-color-file "c:/gnu/emacs/etc/rgb.txt")) 752 (length (x-load-color-file "c:/djb/rgb.txt")) 752 My HOME is not my Windows $USERPROFILE directory, c:/users/... ) However, even if $HOME/rbg.txt is the same as my emacs/etc/rbg.txt file: $ cp c:/gnu/emacs/etc/rgb.txt ~/rgb.txt I still get the same abbreviated color list ! If I remove $HOME/rgb.txt and restart emacs, then M-x list-colors-display lists all the expected colors. I'm not sure why it fails with that file there, since it is the same as the Emacs version; it is readable, etc. I also tried with HOME pointing to me Windows USERPROFILE : # export HOME=c:/users/sasdjb $ cp c:/gnu/emacs/etc/rgb.txt $HOME $ c:/gnu/emacs/bin/runemacs -q and Emacs still does not read the full color list. ************************** Thanks for your assistance. I consider this issue resolved, but you may want to pursue why it would fail to properly load from ~/rgb.txt under Windows 7, and perhaps add documentation on how the color list is populated: w32-default-color-map: Return the default color map. list-colors-display: Display names of defined colors, and show what they look like. If the optional argument LIST is non-nil, it should be a list of colors to display. Otherwise, this command computes a list of colors that the current display can handle. If the optional argument BUFFER-NAME is nil, it defaults to *Colors*. I can contiue to try things on my end if you need additional diagnosis (i.e. if there are other environmental factors that you cannot reproduce). -- David J. Biesack, SAS SAS Campus Dr. Cary, NC 27513 www.sas.com (919) 531-7771