From: "David J. Biesack" <David.Biesack@sas.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 8250@debbugs.gnu.org
Subject: bug#8250: 23.3; set-backrgound-color sets incorrect color
Date: Thu, 17 Mar 2011 09:46:57 -0400 [thread overview]
Message-ID: <ytbpqpp7tbi.fsf@sas.com> (raw)
In-Reply-To: <83fwqpqthx.fsf@gnu.org> (message from Eli Zaretskii on Mon, 14 Mar 2011 23:31:22 +0200)
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
next prev parent reply other threads:[~2011-03-17 13:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-14 15:52 bug#8250: 23.3; set-backrgound-color sets incorrect color David J. Biesack
2011-03-14 21:31 ` Eli Zaretskii
2011-03-14 21:46 ` David J. Biesack
2011-03-14 22:19 ` Eli Zaretskii
2011-03-15 12:43 ` David J. Biesack
2011-03-16 4:09 ` Eli Zaretskii
2011-03-16 14:15 ` David J. Biesack
2011-03-16 14:54 ` Juanma Barranquero
2011-03-16 14:56 ` Juanma Barranquero
2011-03-16 16:07 ` David J. Biesack
2011-03-16 19:04 ` Eli Zaretskii
2011-03-14 23:38 ` David Biesack
2011-03-14 23:12 ` Juanma Barranquero
2011-03-17 13:46 ` David J. Biesack [this message]
2011-03-17 17:55 ` Juanma Barranquero
2011-03-17 20:10 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ytbpqpp7tbi.fsf@sas.com \
--to=david.biesack@sas.com \
--cc=8250@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).