From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Make register easier to hook
Date: Tue, 29 Mar 2011 08:52:29 +0800 [thread overview]
Message-ID: <m1y63y3fzm.fsf@gmail.com> (raw)
In-Reply-To: 4D90C741.2090808@gmail.com
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
next prev parent reply other threads:[~2011-03-29 0:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 15:35 Make register easier to hook Leo
2011-03-28 17:37 ` Daniel Colascione
2011-03-29 0:52 ` Leo [this message]
2011-03-29 2:14 ` Daniel Colascione
2011-03-28 17:39 ` Davis Herring
2011-03-31 10:37 ` Leo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1y63y3fzm.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).