From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: lektu@terra.es, emacs-devel@gnu.org
Subject: Re: list-colors-display shows only one color
Date: Tue, 12 Feb 2002 13:05:54 +0200 (IST) [thread overview]
Message-ID: <Pine.SUN.3.91.1020212130253.6065A-100000@is> (raw)
In-Reply-To: <jepu3bm0a7.fsf@suse.de>
On Tue, 12 Feb 2002, Andreas Schwab wrote:
> |> I'm not sure I understand what are you saying. Are you saying that 256
> |> is an incorrect value? On X, x-display-color-cells returns what
> |> DisplayCells returns, so Emacs isn't ``guilty'' ;-)
>
> What I want to say is that DisplayCells might not be the right function
> in this context. But then, I don't know what "default colormap" is
> supposed to mean.
I'm not a great expert on X, but AFAIK a colormap is where X looks up
the color given its RGB values. The default colormap is a colormap used
for an X application unless it sets up its own colormap.
If my interpretation is correct, you cannot have more distinct colors
than the number of cells in a colormap.
> |> The number of colors you have on a 24-bit display is much larger than
> |> what rgb.txt shows, but the number of colors that are available in the
> |> colormap is typically smaller, so 256 doesn't sound very wrong to me.
>
> Why shouldn't Emacs be able to display all colors as well?
Because some of them will be identical.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-02-12 11:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-11 18:12 list-colors-display shows only one color Juanma Barranquero
2002-02-11 19:48 ` Eli Zaretskii
2002-02-11 20:44 ` Andreas Schwab
2002-02-12 5:41 ` Eli Zaretskii
2002-02-12 11:01 ` Andreas Schwab
2002-02-12 11:05 ` Eli Zaretskii [this message]
2002-02-13 15:37 ` Richard Stallman
2002-02-13 16:25 ` Andreas Schwab
2002-02-12 9:00 ` Juanma Barranquero
2002-02-12 12:18 ` Juanma Barranquero
2002-02-13 13:31 ` Andreas Schwab
2002-02-13 14:13 ` Juanma Barranquero
2002-02-13 14:39 ` Andreas Schwab
2002-02-13 15:39 ` Richard Stallman
2002-02-13 17:07 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SUN.3.91.1020212130253.6065A-100000@is \
--to=eliz@is.elta.co.il \
--cc=emacs-devel@gnu.org \
--cc=lektu@terra.es \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.