From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62127 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Customizable tool bars Date: Thu, 02 Mar 2006 17:30:34 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87slq2vx5q.fsf@pacem.orebokech.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141319925 31784 80.91.229.2 (2 Mar 2006 17:18:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2006 17:18:45 +0000 (UTC) Original-X-From: ding-owner+m10655@lists.math.uh.edu Thu Mar 02 18:18:35 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FErQv-0004B5-Bm for ding-account@gmane.org; Thu, 02 Mar 2006 18:17:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FErQp-0000bp-00; Thu, 02 Mar 2006 11:17:39 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FErQe-0000bk-00 for ding@lists.math.uh.edu; Thu, 02 Mar 2006 11:17:29 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FErQc-00023P-Cv for ding@lists.math.uh.edu; Thu, 02 Mar 2006 11:17:28 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FErQa-00063M-00 for ; Thu, 02 Mar 2006 18:17:24 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FErPc-0003pR-MW for ding@gnus.org; Thu, 02 Mar 2006 18:16:25 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Mar 2006 18:16:24 +0100 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Mar 2006 18:16:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s On Wed, Mar 01 2006, Romain Francoise wrote: > Reiner Steib writes: > >> For some reason Emacs 21 returns nil for that whereas Emacs 22 returns >> t on the same display. Any ideas? > > See the thread starting here: > > [ Or http://thread.gmane.org/gmane.emacs.pretest.bugs/2226 ] Thanks. It seems that (ash 1 (x-display-planes)) mentioned there gives more appropriate result compared to `display-color-cells'. Now I use `display-visual-class' which seems to work correctly for Emacs 21 and Emacs 22 on 8-bit and 16-bit color depths. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/