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: [patch] XPM in gamegrid.el Date: Thu, 4 Jul 2002 12:24:03 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207041824.g64IO3906414@aztec.santafe.edu> References: <200207021946.g62Jkd802100@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1025809565 21064 127.0.0.1 (4 Jul 2002 19:06:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2002 19:06:05 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17QBvY-0005TW-00 for ; Thu, 04 Jul 2002 21:06:04 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17QC1g-0008Ol-00 for ; Thu, 04 Jul 2002 21:12:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17QBYa-0007wD-00; Thu, 04 Jul 2002 14:42:20 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17QBGu-0005WX-00; Thu, 04 Jul 2002 14:24:04 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g64IO6V00542; Thu, 4 Jul 2002 12:24:06 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g64IO3906414; Thu, 4 Jul 2002 12:24:03 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: epameinondas@gmx.de In-Reply-To: (message from Oliver Scholz on Wed, 03 Jul 2002 14:39:22 +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:5474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5474 Packages (games) that use gamegrid.el are supposed to change the buffer via the function `gamegrid-set-cell'. To use text properties instead of an overlay wouldn't take more than a simple change to this functions. I used an overlay mainly because I am not sure if all existing games refrain from using a simple `insert' or `insert-char' somewhere to put text into the buffer. This would not inherit the text property then. I see. Maybe we should have a way for the buffer to choose a default face. To have true buffer local faces would be nice. Buffer local *face definitions* would be rather hairy. Do we need them? It could be a lot easier to have a variable whose value specifies the name of the default face, and then you could give that variable a buffer-local value. Is it really useful to give the same face name various buffer-local definitions?