From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: gamegrid.el and some games Date: Thu, 19 Sep 2002 11:17:10 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <87n0ql94mz.fsf@pot.cnuce.cnr.it> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1032449118 32126 127.0.0.1 (19 Sep 2002 15:25:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2002 15:25:18 +0000 (UTC) Cc: emacs-devel@gnu.org, gerd@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17s3B6-0008Lp-00 for ; Thu, 19 Sep 2002 17:25:16 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17s3pw-0006zZ-00 for ; Thu, 19 Sep 2002 18:07:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17s3BS-0006HD-00; Thu, 19 Sep 2002 11:25:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17s37C-0004vk-00 for emacs-devel@gnu.org; Thu, 19 Sep 2002 11:21:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17s372-0004sg-00 for emacs-devel@gnu.org; Thu, 19 Sep 2002 11:21:11 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17s33I-0003yl-00 for emacs-devel@gnu.org; Thu, 19 Sep 2002 11:17:12 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 17s33G-0006gF-00; Thu, 19 Sep 2002 11:17:10 -0400 Original-To: alkibiades@gmx.de In-reply-to: (message from Oliver Scholz on Wed, 18 Sep 2002 17:04:41 +0200) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8017 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8017 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?