From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: list-colors-display shows only one color Date: Wed, 13 Feb 2002 08:39:00 -0700 (MST) Message-ID: <200202131539.g1DFd0x08788@aztec.santafe.edu> References: <8296-Mon11Feb2002214825+0200-eliz@is.elta.co.il> <20020212100011.B5B9.LEKTU@terra.es> <20020212125234.B5C4.LEKTU@terra.es> Reply-To: rms@gnu.org NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013615633 12049 195.204.10.66 (13 Feb 2002 15:53:53 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 13 Feb 2002 15:53:53 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16b1jD-00038F-00 for ; Wed, 13 Feb 2002 16:53:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16b1Y6-0002MA-00; Wed, 13 Feb 2002 10:42:22 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16b1Ur-00024J-00; Wed, 13 Feb 2002 10:39:02 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.9.3/8.9.3) with ESMTP id IAA26560; Wed, 13 Feb 2002 08:39:00 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g1DFd0x08788; Wed, 13 Feb 2002 08:39:00 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: lektu@terra.es In-reply-to: <20020212125234.B5C4.LEKTU@terra.es> (message from Juanma Barranquero on Tue, 12 Feb 2002 13:18:51 +0100) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1076 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1076 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