From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Interactive hat. Date: Thu, 26 Mar 2009 16:45:01 +0000 Message-ID: <20090326164501.GG3358@muc.de> References: <20090324135210.GA4657@muc.de> <20090325101650.GA1487@muc.de> <20090325105316.GB1487@muc.de> <87ocvplkb5.fsf@catnip.gol.com> <20090326115154.GB3358@muc.de> <20090326143354.GE3358@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1238085983 18359 80.91.229.12 (26 Mar 2009 16:46:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2009 16:46:23 +0000 (UTC) Cc: Miles Bader , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 26 17:47:39 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lmsjf-0000nL-Dt for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2009 17:47:19 +0100 Original-Received: from localhost ([127.0.0.1]:34874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmsiI-0003Ee-GR for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2009 12:45:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmsiC-0003EX-Kh for emacs-devel@gnu.org; Thu, 26 Mar 2009 12:45:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lmsi7-0003DR-Ip for emacs-devel@gnu.org; Thu, 26 Mar 2009 12:45:47 -0400 Original-Received: from [199.232.76.173] (port=35176 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lmsi6-0003DB-K1 for emacs-devel@gnu.org; Thu, 26 Mar 2009 12:45:42 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:2729 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lmsi5-0001eF-VP for emacs-devel@gnu.org; Thu, 26 Mar 2009 12:45:42 -0400 Original-Received: (qmail 91698 invoked by uid 3782); 26 Mar 2009 16:45:40 -0000 Original-Received: from acm.muc.de (pD9E507B2.dip.t-dialin.net [217.229.7.178]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Thu, 26 Mar 2009 17:45:36 +0100 Original-Received: (qmail 7868 invoked by uid 1000); 26 Mar 2009 16:45:01 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109861 Archived-At: Hi, Stefan! On Thu, Mar 26, 2009 at 12:30:38PM -0400, Stefan Monnier wrote: > >> The ability to use a symbol property for that is a hack that can come > >> in handy at times, but it's still just a hack. > > I don't think so. It is the standard canonical use of symbol > > properties. A quick bit of grepping reveals 4278 uses of `put'. Of the > > ones in the first 100 or so, they all look recording properties of the > > function rather than the symbol itself. > And they're all hacks (some of them a bit less so because the property > is actually installed as part of the symbol's definition (I'm thinking > of the `declare' thingy in macros used to set the indent and edebug > properties). Well, what can one say? The property list is part of a symbol. The other parts are its name, its function and its value. If it's a hack for a property to describe the function, it's just as much a hack for the property to describe the value. So a property describes either the property list (which is non-sensical) or the name, or the property is free-standing. So I think you're arguing that a property can only properly describe the name part of a symbol. Or, maybe, just maybe, using properties in the customary way isn't such a bad hack after all. :-) > Stefan -- Alan Mackenzie (Nuremberg, Germany).