() Shane Celis <shane.ce...@gmail.com> () Thu, 29 Aug 2013 16:57:00 -0400
6. Tag commands as special procedures [...] Implement "command?" CON: Adding something to the procedure makes wrapping commands in other lambdas awkward. Might necessitate a define-command, lambda-command, method-command, which I'd prefer to avoid. Why would you prefer to avoid this? What would you do? I'd explore option 6, starting w/: (define command? (make-object-property)) I think object properties are better suited than procedure properties after observing this in the (Emacs) *scratch* buffer: (commandp [42]) t It would be cool for Emacsy to have good "keyboard macros" support. Many a non-programmer fall into consciousness via such, in Emacs. [cc trimmed] -- Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) => nil
pgpu3gbkKzdwO.pgp
Description: PGP signature