From xemacs-m  Wed Mar 19 16:12:15 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA28750
	for <xemacs-beta@xemacs.org>; Wed, 19 Mar 1997 16:12:12 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQchpg14458; Wed, 19 Mar 1997 17:12:12 -0500 (EST)
Date: Wed, 19 Mar 1997 17:12:12 -0500 (EST)
Message-Id: <QQchpg14458.199703192212@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: Re: recently posted toolbar icon replacements
In-Reply-To: <m2ohcfac03.fsf@altair.xemacs.org>
References: <199703191745.MAA21380@fhat.stat.sc.edu>
	<rjohcfu173.fsf@zuse.dina.kvl.dk>
	<m2ohcfac03.fsf@altair.xemacs.org>
X-Mailer: VM 6.20 under 19.15 XEmacs Lucid (beta100)
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

Steven L Baur writes:
 > Per Abrahamsen writes:
 > 
 > > Anthony Rossini <rossini@math.sc.edu> writes:
 > 
 > >> The only problem is that the pictures use too many colors to be the
 > >> defaults... 
 > 
 > > Would it be possible to check for the display depth
 > > (device-color-cells), and choose default icons based on that?
 > 
 > No, that is stuck on 256.  (device-bitplanes) appears to return the
 > correct value.
 > 
 > Kyle, we need a better name for device-bitplanes.  It fails the
 > apropos test and probably ought to have `depth' in the name.

The apropos test isn't necessarily applicable to low level
functions like device-bitplanes.  I consider it mostly when
adding user variables.  For low level functions it is better to
stick with the names that closely map to device capabilities.

I remember when I was looking for this function I did an apropos
search for "device".  I then looked down the list until I found
the term "bitplanes", which was immediately recognizable to me
and anyone who has done graphics work.  No one who isn't doing
graphics work is going to care about this function so I believe
its name is acceptable.

device-pixel-depth would be a reasonable alias for device-bitplanes
and fits our current naming scheme.

