[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make register easier to hook
From: |
Leo |
Subject: |
Re: Make register easier to hook |
Date: |
Tue, 29 Mar 2011 08:52:29 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.7) |
On 2011-03-29 01:37 +0800, Daniel Colascione wrote:
> Thanks for doing this work. An extensible register system is also on my
> wishlist. Why did you decide to use the list for the register structure
> instead of the default vector representation?
Probably because it looks nicer inside register-alist and there is
little performance to lose.
> Also, have you considered eliminating the `info' slot? Users can
> construct closures over any necessary variables and assign these
> closures to the register structure's remaining function slots. After
> all, we're getting lexbind, and this feature will make constructing
> closures both easy and safe.
Now I do. But I fail to see how that makes things more convenient. The
closures must be created inside the command/function that creates the
register, right? So one won't be able to define functions with defun for
the slots. Did I miss something?
Leo