From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Francesco Potorti` Newsgroups: gmane.emacs.devel Subject: gamegrid.el and some games Date: Fri, 13 Sep 2002 12:55:06 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1031914656 32565 127.0.0.1 (13 Sep 2002 10:57:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2002 10:57:36 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17po8k-0008Ss-00 for ; Fri, 13 Sep 2002 12:57:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17pokZ-00028f-00 for ; Fri, 13 Sep 2002 13:36:40 +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 17po8n-0005K4-00; Fri, 13 Sep 2002 06:57:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17po6S-0005EZ-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 06:55:12 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17po6P-0005DG-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 06:55:11 -0400 Original-Received: from pot.cnuce.cnr.it ([146.48.83.182]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17po6O-0005CS-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 06:55:09 -0400 Original-Received: from pot by pot.cnuce.cnr.it with local (Exim 3.35 #1 (Debian)) id 17po6M-0000Fd-00 for ; Fri, 13 Sep 2002 12:55:06 +0200 Original-To: Emacs developers X-fingerprint: 4B2 6187 5C3 D6B1 2E31 7666 9DF 2DC9 BE21 6115 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:7879 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7879 I am resending here, hoping to find a bigger audience, a message I had sent (by error) to emacs-pretest-bug. 1) why (featurep 'xpm) => nil even though in config.h I have #define HAVE_XPM 1 ? Is this a bug? Or maybe it is a Xemacs thing? 2) there is a bug, I think, in gamegrid.el: (defun gamegrid-setup-face (face color) --> (set-face-foreground face color) --> (set-face-background face color) (gamegrid-set-font face) (condition-case nil (set-face-background-pixmap face [nothing]);; XEmacs ('error nil)) (condition-case nil (set-face-background-pixmap face nil);; Emacs ('error nil))) As you can see, foreground and background are set to the same colour, thus preventing the possibility of anything different from a coloured space. Is this intentional or a bug? What I would have done is to have a function with a third optional argument for the case when one wants something different from a square. For example, both in pong.el and tetris.el, the "dot" should naturally be an asterisk. However, this may be intentional, that is, if gamegrid.el is willingly trying to deal only with squares on a board (not considering other characters if not necessary because of display incapability). Maybe I should directly ask the author, Glynn Clements, if no one here cares about gamegrid.