From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: list-colors-display shows only one color
Date: Wed, 13 Feb 2002 08:39:00 -0700 (MST) [thread overview]
Message-ID: <200202131539.g1DFd0x08788@aztec.santafe.edu> (raw)
In-Reply-To: <20020212125234.B5C4.LEKTU@terra.es> (message from Juanma Barranquero on Tue, 12 Feb 2002 13:18:51 +0100)
On x-display-color-cells:
> if (cap < 0)
> cap = 1 << (dpyinfo->n_planes * dpyinfo->n_cbits);
At this moment dpyinfo->n_planes == 1 and dpyinfo->n_cbits == 32.
It is an error to use the C shift operator with those arguments.
So this code clearly is one bug, and needs to be fixed.
Maybe that fix will solve the problem you are encountering.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-02-13 15:39 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
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 [this message]
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
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=200202131539.g1DFd0x08788@aztec.santafe.edu \
--to=rms@gnu.org \
--cc=emacs-devel@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).