Somehow it knows which function we’re in, in the bottom leftmost menu, but fold handles are all useless.
Now when editing Eval, we see that when no selection is active, the choices of what to send are Document, Word/Char, Line, Scope, or Nothing. It would be reasonable to assume that the Scope is a current function, which is shown in the bottom of the screen, but it isn’t.
Even if we can’t select the current defun when nothing’s selected, perhaps we could select the surrounding block -- defined as contiguous lines with no blank lines in between, surrounded by blank lines. In fact, “Edit=>Select => Paragraph” seems to be even smarter -- it tenaciously finds and selects a preceding comment. So if somehow we could select that and then Eval it, now *that* would be cool.
A good read about Gerard Huét:
http://translate.google.com/translate?u=http%3A%2F%2Finterstices.info%2Fjcms%2Fc_5629%2Fgerard-huet-d-une-frontiere-a-l-autre&hl=en&ie=UTF-8&sl=fr&tl=en
His Zen toolkit is awesome!
http://sanskrit.inria.fr/ZEN/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment