From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gerd.moellmann@t-online.de (Gerd Moellmann) Newsgroups: gmane.emacs.devel Subject: Re: gamegrid.el and some games Date: 20 Sep 2002 08:54:51 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <86sn059mmc.fsf@gerd.free-bsd.org> References: <87n0ql94mz.fsf@pot.cnuce.cnr.it> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032505016 32257 127.0.0.1 (20 Sep 2002 06:56:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2002 06:56:56 +0000 (UTC) Cc: alkibiades@gmx.de, emacs-devel@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 17sHig-0008O9-00 for ; Fri, 20 Sep 2002 08:56:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17sINq-000481-00 for ; Fri, 20 Sep 2002 09:39:26 +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 17sHiz-0001ce-00; Fri, 20 Sep 2002 02:57:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17sHhN-0001bJ-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 02:55:33 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17sHhL-0001b7-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 02:55:32 -0400 Original-Received: from mailout01.sul.t-online.com ([194.25.134.80]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sHhJ-0001ap-00; Fri, 20 Sep 2002 02:55:30 -0400 Original-Received: from fwd00.sul.t-online.de by mailout01.sul.t-online.com with smtp id 17sHhI-0000HK-02; Fri, 20 Sep 2002 08:55:28 +0200 Original-Received: from gerd.free-bsd.org (520015515780-0001@[80.130.105.113]) by fwd00.sul.t-online.com with esmtp id 17sHgw-25gl6GC; Fri, 20 Sep 2002 08:55:06 +0200 Original-Received: from gerd.free-bsd.org (localhost [127.0.0.1]) by gerd.free-bsd.org (8.12.6/8.12.5) with ESMTP id g8K6t55Q000271; Fri, 20 Sep 2002 08:55:05 +0200 (CEST) (envelope-from gerd.moellmann@t-online.de) Original-Received: (from gerd@localhost) by gerd.free-bsd.org (8.12.6/8.12.6/Submit) id g8K6spuB000262; Fri, 20 Sep 2002 08:54:51 +0200 (CEST) X-Authentication-Warning: gerd.free-bsd.org: gerd set sender to gerd.moellmann@t-online.de using -f Original-To: rms@gnu.org In-Reply-To: Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-Sender: 520015515780-0001@t-dialin.net 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:8040 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8040 Richard Stallman writes: > 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? Image colors are allocated with a function that allocates the nearest color available on the display where the image is to be displayed. That is, one will get something displayed for a color image on a mono or grayscale display, but I doubt it will be of very high quality. > 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. I think XFree contains a mono server for VGA displays.