Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Customizable tool bars
Date: Thu, 02 Mar 2006 11:49:49 +0100	[thread overview]
Message-ID: <v9zmk9nmsy.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <b4my7ztixvu.fsf@jpl.org>

On Wed, Mar 01 2006, Katsumi Yamaoka wrote:

> Emacs 21.1, 21.2 and 21.4
>  => 256
> Emacs 22.0.50 and 23.0.0
>  => 16777216
> XEmacs 21.4.19 and 21.5-b25 (using `device-color-cells')
>  => 256
>
> Are 256 colors insufficient to display Gnome icons?

Assuming that those values were correct: Yes, 256 colors (8 bit color
depth) is insufficient.  I didn't count the number of colors in the
icons [1], but 256 colors get exhausted *very* soon.

You can try it with...

X :1 -depth 8 &
twm -display :1 &
xterm -display :1 &
emacs -display :1  &

Set `gmm-tool-bar-style' to 'gnome, start gnus-slave.  Already here
the colors in the icons are reduced AFAICS.

Then start e.g. gv:

Warning: Cannot allocate colormap entry for "AntiqueWhite3"
Warning: Cannot allocate colormap entry for "AntiqueWhite2"
Warning: Cannot allocate colormap entry for "AntiqueWhite4"
Warning: Cannot allocate colormap entry for "gray40"
Warning: Cannot allocate colormap entry for "gray78"
Warning: Cannot allocate colormap entry for "#D3B5B5"

Close gv, start firefox.  You'll see that it uses a private colormap
for it's windows.

BTW, both Emacs 21 and Emacs 22 reported 256 (correct) on the 8-bit
display.  I don't know how to get the correct information for > 8-bit
from Emacs 21.  (I didn't follow the URL given by Romain yet -- I'm
offline).  But even if there is no technical possibility in Emacs 21,
the user can simply customize a single variable `gmm-tool-bar-style'
to get Gnome icons (this was one of the main reasons why I introduced
it).

Bye, Reiner.

[1] Just some approximate values:

etc/images$ grep -h '^".*#[0-9]*",$' *.xpm|sort -k3,3 -u|wc -l
296

etc/images/mail$ grep -h '^".*#[0-9]*",$' *.xpm|sort -k3,3 -u|wc -l
181
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2006-03-02 10:49 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-20 22:22 Reiner Steib
2006-01-25 16:40 ` Reiner Steib
2006-01-26  0:53   ` Katsumi Yamaoka
2006-01-26  1:39     ` Steve Youngs
2006-01-26  2:35       ` Katsumi Yamaoka
2006-01-26  4:28         ` Steve Youngs
2006-01-26  5:14           ` Katsumi Yamaoka
2006-01-26  9:19             ` Reiner Steib
2006-01-26 11:31               ` Katsumi Yamaoka
2006-01-26  9:24     ` Reiner Steib
2006-01-26 10:52       ` Katsumi Yamaoka
2006-01-26 15:04         ` Reiner Steib
2006-01-30 23:45           ` Katsumi Yamaoka
2006-02-21 22:23   ` Reiner Steib
2006-02-22  5:04     ` Katsumi Yamaoka
2006-02-22 12:19       ` image-load-path/load-path function (was: Customizable tool bars) Reiner Steib
2006-02-22 14:53         ` image-load-path/load-path function Reiner Steib
2006-02-23  8:23           ` Katsumi Yamaoka
2006-02-23 11:50             ` Reiner Steib
2006-02-23 13:19               ` Katsumi Yamaoka
2006-02-23 15:17                 ` Reiner Steib
2006-02-24  8:03                   ` Katsumi Yamaoka
2006-02-24  8:40                     ` Katsumi Yamaoka
2006-02-23 18:13               ` Bill Wohler
2006-03-01 23:33         ` Bill Wohler
2006-03-02  1:07           ` Bill Wohler
2006-03-02  4:31             ` Peter S Galbraith
2006-03-02 17:13               ` Reiner Steib
2006-03-02 20:30                 ` Bill Wohler
2006-03-02 22:05                   ` Reiner Steib
2006-03-03  0:49                     ` Bill Wohler
2006-03-03  0:52                       ` Bill Wohler
2006-03-03 16:38                       ` Reiner Steib
2006-03-03 22:46                         ` Bill Wohler
2006-03-03 22:47                         ` Bill Wohler
2006-03-04 16:27                           ` Reiner Steib
2006-03-04 17:55                             ` Bill Wohler
2006-03-06 16:11                               ` Bill Wohler
2006-03-11  2:16                                 ` Bill Wohler
     [not found]                         ` <8096.1141420620@olgas.newt.com>
2006-03-04 23:33                           ` Bill Wohler
2006-03-02 16:59           ` Reiner Steib
2006-03-02 17:22             ` Bill Wohler
2006-02-22 12:23       ` Customizable tool bars Reiner Steib
2006-03-01 17:41       ` Reiner Steib
2006-03-01 18:26         ` Romain Francoise
2006-03-02 16:30           ` Reiner Steib
2006-03-01 19:35         ` Michael Piotrowski
2006-03-01 22:51           ` Reiner Steib
2006-03-02  0:00           ` Katsumi Yamaoka
2006-03-02 11:16             ` Michael Piotrowski
2006-03-02 16:31               ` Reiner Steib
2006-03-02 18:00                 ` Michael Piotrowski
2006-03-01 22:49         ` Katsumi Yamaoka
2006-03-02 10:49           ` Reiner Steib [this message]
2006-03-02 23:34             ` Katsumi Yamaoka
2006-03-03 10:35               ` Reiner Steib
2006-03-06  4:00                 ` Katsumi Yamaoka
2006-03-06 10:32                   ` Reiner Steib
2006-03-06 12:16                     ` Katsumi Yamaoka
2006-03-03 16:47               ` low-color variants of the Gnome icons (was: Customizable tool bars) Reiner Steib

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=v9zmk9nmsy.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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.
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 NNTP newsgroup(s).