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: emacs and guile (Re: ehelp woes, or why I hate a module that I love so much) Date: Fri, 19 Jul 2002 18:35:09 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207200035.g6K0Z9U27888@aztec.santafe.edu> References: <20020704135240.4CBB.LEKTU@terra.es> <20020704164911.4CC1.LEKTU@terra.es> <200207181456.g6IEu0J25108@aztec.santafe.edu> <200207191654.g6JGsfu27015@aztec.santafe.edu> <87d6tjshgv.fsf@zagadka.ping.de> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1027125448 12160 127.0.0.1 (20 Jul 2002 00:37:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 20 Jul 2002 00:37:28 +0000 (UTC) Cc: raeburn@raeburn.org, 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 17ViFO-00039l-00 for ; Sat, 20 Jul 2002 02:37:22 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ViS1-000471-00 for ; Sat, 20 Jul 2002 02:50:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17ViF1-0004UB-00; Fri, 19 Jul 2002 20:36:59 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17ViDG-0004Pa-00; Fri, 19 Jul 2002 20:35:11 -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 g6K0ZEB29282; Fri, 19 Jul 2002 18:35:14 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g6K0Z9U27888; Fri, 19 Jul 2002 18:35:09 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: mvo@zagadka.ping.de In-Reply-To: <87d6tjshgv.fsf@zagadka.ping.de> (message from Marius Vollmer on 19 Jul 2002 20:25:20 +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:5926 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5926 For additional fields, there is 'make-object-property'. This function returns a procedure-with-setter so that can you do, for example, (define symbol-foo (make-object-property)) (symbol-foo 'x) => #f (set! (symbol-foo 'x) 123) (symbol-foo 'x) => 123 make-object-property is implemented with a hash table of alists. If Emacs needs any more than the function and the plist, we should provide additional slots in the symbol itself, or a facility to for an application that uses Guile to request more of them.