From: Miles Bader <miles@lsi.nec.co.jp>
Cc: harder@ifa.au.dk, emacs-pretest-bug@gnu.org, emacs-devel@gnu.org
Subject: Re: Font-lock.el uses strange value for min-colors (Was x-display-color-cells returns wrong number)
Date: 01 Mar 2004 15:24:52 +0900 [thread overview]
Message-ID: <buowu65qe2z.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <7494-Mon01Mar2004080015+0200-eliz@elta.co.il>
"Eli Zaretskii" <eliz@elta.co.il> writes:
> when I work on Irix, I generally like to use the Irix-specific colors
> (that are not shown by list-colors-display, of course) because they
> are much more pleasant to my eyes. So to me, those unshown colors are
> much more ``interesting'' than those we show, in that specific case.
If you can come up with a reasonable list of `irix colors' that seems
appropriate, feel free (modulo code-bloat/why-are-we-spending-
time-worrying-about-silly-things-like-this issues)...
> Bottom line is, I think list-colors-display should display colors
> whose number is close to what Emacs can use on that display, except
> that it probably shouldn't be too long (so I don't suggest to display
> 64K colors, for example).
There are only a few important cases in practice -- monochrome,
low-color (e.g. 8 color) displays, 256-color (8 bit) displays, and
everything else. The current behavior seems to be basically same as
what you want for most common displays; if you really care, I suppose
you could look into making it work well in other rarer cases (but I
suppose that you probably don't care enough).
> Perhaps a short comment to the effect that
> we are showing only N out of possible M colors would be good there.
Yes, that would be handy; perhaps it could also mention using the
`#rrggbb' notation to get colors not displayed in the list.
This change would be simple and I think probably good enough.
-Miles
--
97% of everything is grunge
next prev parent reply other threads:[~2004-03-01 6:24 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m3eksf9sq6.fsf@defun.localdomain>
[not found] ` <14AB9AB8-6A0E-11D8-99DB-00039363E640@swipnet.se>
[not found] ` <m3d67z84rb.fsf@defun.localdomain>
2004-02-29 17:01 ` Font-lock.el uses strange value for min-colors (Was x-display-color-cells returns wrong number) Jan D.
2004-02-29 18:14 ` Eli Zaretskii
2004-02-29 19:27 ` Jan D.
2004-02-29 21:25 ` Eli Zaretskii
2004-02-29 21:58 ` Jan D.
2004-03-01 5:50 ` Eli Zaretskii
2004-03-01 12:55 ` Jan D.
2004-02-29 22:39 ` Jason Rumney
2004-03-01 6:07 ` Eli Zaretskii
2004-03-01 8:30 ` Jason Rumney
2004-03-01 19:51 ` Eli Zaretskii
2004-02-29 22:03 ` Miles Bader
2004-03-01 6:00 ` Eli Zaretskii
2004-03-01 6:24 ` Miles Bader [this message]
2004-03-01 19:55 ` Eli Zaretskii
2004-03-02 2:24 ` Miles Bader
2004-03-02 5:47 ` Eli Zaretskii
2004-03-02 6:33 ` Miles Bader
2004-03-01 9:39 ` Jan D.
2004-02-29 18:18 ` Font-lock.el uses strange value for min-colors Jesper Harder
2004-02-29 21:22 ` Eli Zaretskii
2004-02-29 18:54 ` Font-lock.el uses strange value for min-colors (Was x-display-color-cells returns wrong number) Luc Teirlinck
2004-02-29 19:33 ` Jan D.
2004-02-29 20:07 ` Luc Teirlinck
2004-02-29 20:20 ` Jan D.
2004-02-29 21:29 ` Luc Teirlinck
2004-03-01 10:47 ` Kim F. Storm
2004-03-01 12:11 ` Richard Stallman
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=buowu65qe2z.fsf@mcspd15.ucom.lsi.nec.co.jp \
--to=miles@lsi.nec.co.jp \
--cc=emacs-devel@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
--cc=harder@ifa.au.dk \
--cc=miles@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).