[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interactive hat.
From: |
Alan Mackenzie |
Subject: |
Re: Interactive hat. |
Date: |
Thu, 26 Mar 2009 16:45:01 +0000 |
User-agent: |
Mutt/1.5.9i |
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).
- Re: Interactive hat., (continued)
- Re: Interactive hat., Miles Bader, 2009/03/25
- Re: Interactive hat., Alan Mackenzie, 2009/03/26
- Re: Interactive hat., David Kastrup, 2009/03/26
- Re: Interactive hat., Alan Mackenzie, 2009/03/26
- Re: Interactive hat., Stefan Monnier, 2009/03/26
- Re: Interactive hat., Alan Mackenzie, 2009/03/26
- Re: Interactive hat., Stefan Monnier, 2009/03/26
- Re: Interactive hat.,
Alan Mackenzie <=
- Re: Interactive hat., Stefan Monnier, 2009/03/26
- Re: Interactive hat., Kim F. Storm, 2009/03/28
- Re: Interactive hat., Miles Bader, 2009/03/28
- Re: Interactive hat., Lennart Borgman, 2009/03/28
- Re: Interactive hat., Stephen J. Turnbull, 2009/03/26
- Re: Interactive hat., Miles Bader, 2009/03/26
- Re: Interactive hat., Stephen J. Turnbull, 2009/03/26
Re: Interactive hat., Stefan Monnier, 2009/03/25
Re: Interactive hat. [Was: CUA-like stuff spuriously enables transient-mark-mode], Juanma Barranquero, 2009/03/25