unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org, gerd@gnu.org
Subject: Re: gamegrid.el and some games
Date: Thu, 19 Sep 2002 11:17:10 -0400	[thread overview]
Message-ID: <E17s33G-0006gF-00@fencepost.gnu.org> (raw)
In-Reply-To: <m3znufnxti.fsf@ID-87814.user.dfncis.de> (message from Oliver Scholz on Wed, 18 Sep 2002 17:04:41 +0200)

    Pardon my ignorance: what happens with colour images on monochrome
    displays? Are they displayed in shades of gray if
    `display-grayscale-p' returns [non-]nil?

I don't know.  Gerd, can you answer?

    Are there any displays for which `display-images-p' returns t, but
    both `display-color-p' and `display-grayscale-p' return nil? Is it
    necessary to make sure that gamegrid.el DTRT on such displays?

There certainly WERE computers whose displays could only show black
and white.  Using X on those displays, it would be proper for
display-images-p to return t and the other two to return nil.

It is possible that no such displays have been built in recent years.
gamegrid.el should do SOME kind of Right Thing on those displays, but
pretending they cannot draw images might be good enough.

    If not, I suggest to simply convert XPMs via some Lisp functions if
    Emacs is compiled without XPM-support on the C-level. I have written a
    prototype[1] for this. What do you think?

Converting XPM to PPM seems useful, because with this, we can arrange
that Emacs can always display XPM format.  That makes the API specs
simpler.  It would be nice if Emacs always used this conversion method
when you try to display an XPM and the support is not built in.

But why do you prefix this with "if not"?  I know very very little
about these graphics formats, so it isn't obvious to me why this
method would depend on being able to display more than just black and
white.  Can you explain?

  parent reply	other threads:[~2002-09-19 15:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13 10:55 gamegrid.el and some games Francesco Potorti`
     [not found] ` <87sn0eglkp.fsf@bundalo.shootybangbang.com>
2002-09-13 13:09   ` Francesco Potorti`
2002-09-14 17:35     ` Richard Stallman
2002-09-13 14:16 ` Oliver Scholz
2002-09-13 17:32   ` Francesco Potorti`
2002-09-13 23:11     ` Oliver Scholz
2002-09-14  1:03       ` Alex Schroeder
2002-09-15  1:50         ` Richard Stallman
2002-09-16 12:11           ` Oliver Scholz
2002-09-19 15:22             ` Luke A. Olbrish
2002-09-20  3:44               ` Richard Stallman
2002-09-15  1:51       ` Richard Stallman
2002-09-16 11:58         ` Oliver Scholz
2002-09-16 19:27           ` Richard Stallman
2002-09-16 12:01         ` Oliver Scholz
2002-09-16 19:27           ` Richard Stallman
2002-09-16 23:13             ` alkibiades
2002-09-17 15:53               ` Richard Stallman
2002-09-17 16:12                 ` Gerd Moellmann
2002-09-18 15:04                 ` Oliver Scholz
2002-09-18 16:03                   ` Oliver Scholz
2002-09-19 11:45                   ` Eli Zaretskii
2002-09-19 15:17                   ` Richard Stallman [this message]
2002-09-20  0:26                     ` Oliver Scholz
2002-09-20  9:40                       ` Miles Bader
2002-09-20 12:01                         ` Oliver Scholz
2002-09-20 10:12                       ` Francesco Potorti`
2002-09-20  1:18                     ` Miles Bader
2002-09-20  9:20                       ` rms
2002-09-20 11:41                         ` Oliver Scholz
2002-09-20  6:54                     ` Gerd Moellmann
2002-09-14 17:35 ` Richard Stallman

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=E17s33G-0006gF-00@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=gerd@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).