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 14:33:54 +0000 Message-ID: <20090326143354.GE3358@muc.de> References: <20090323223703.GA5650@muc.de> <20090324135210.GA4657@muc.de> <20090325101650.GA1487@muc.de> <20090325105316.GB1487@muc.de> <87ocvplkb5.fsf@catnip.gol.com> <20090326115154.GB3358@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1238078109 17878 80.91.229.12 (26 Mar 2009 14:35:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2009 14:35:09 +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 15:36:26 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 1Lmqgm-0006PZ-5W for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2009 15:36:12 +0100 Original-Received: from localhost ([127.0.0.1]:44698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmqfP-0006Qk-7k for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2009 10:34:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmqfK-0006QB-LC for emacs-devel@gnu.org; Thu, 26 Mar 2009 10:34:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmqfF-0006PP-OI for emacs-devel@gnu.org; Thu, 26 Mar 2009 10:34:42 -0400 Original-Received: from [199.232.76.173] (port=58352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmqfF-0006PM-Jq for emacs-devel@gnu.org; Thu, 26 Mar 2009 10:34:37 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:1709 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 1LmqfF-0003Uq-3a for emacs-devel@gnu.org; Thu, 26 Mar 2009 10:34:37 -0400 Original-Received: (qmail 26347 invoked by uid 3782); 26 Mar 2009 14:34:33 -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 15:34:29 +0100 Original-Received: (qmail 6120 invoked by uid 1000); 26 Mar 2009 14:33:54 -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:109855 Archived-At: Hi, Stefan! On Thu, Mar 26, 2009 at 09:48:11AM -0400, Stefan Monnier wrote: > > If it's possible to code everything we need with a symbol property, I > > think the interactive hat mechanism should be removed. > You got things backwards here: the "^" describes the behavior of the > command, so it should be part of the command, not its name. NOT SO FAST THERE, BUDDY!!! Most, possibly nearly all, properties attached to a symbol describe either the symbol-function or the symbol-value. So, whilst I agree you have some sort of point, it would require a massive change to Emacs Lisp to allow properties to be attached to a function or value, as opposed to the symbol holding them. > 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. > Stefan -- Alan Mackenzie (Nuremberg, Germany).