Re:The Emacs Problem
by jrockway on Tuesday May 25, 2010 @02:09PM
(#1378090)
You just have to consider callbacks to be a (function . closure) pair, instead of just a function.
[ Parent
| on HN ]
Re:The Emacs Problem
by loewenskind on Wednesday May 26, 2010 @03:10AM
(#1379711)
Hrm... I should have thought of that. I'll blame it on time constraints!
Yeah. Emacs Lisp requires you to solve problems in a different way than you are normally used to. I guess that's bad. But once you figure it out, it's not too much of a productivity drain, which is what matters in the end.
Re:The Emacs Problem
by loewenskind on Wednesday May 26, 2010 @04:27AM
(#1379815)
Well, in this case I would say it requires me to do more than I would expect to be necassary. When I set up my menu I just want to set each button to call a closure set up specifically with that button.
But as much as I think lexical scoping is just a requirement and as much as I wish elisp were closer to CL (in power, if not in size), emacs is still the best game in town for me.