Fabric — Fabric v0.9 documentation
Trying to see what fabric is for.
It would be nice to be able to switch batch mode and user interaction mode dynamically. With expect/tk you have such a feature, but fabric doesn't offer one afaik.
So far, fabric seems better at simple automated batch processing than expect/tk is, but expect has a wider variety of features. So I'll see if there are tasks suitable for fabric/python.
2010年3月20日土曜日
2010年2月26日金曜日
2010年2月24日水曜日
Debugging Emacs Lisp
Tried to use emacs lisp debugging feature in emacs.
It's very simple. Just "edebug-defun" pointing to a function definition, and you can trace the function when evaluated.
Call the function, then set breakpoints at S-expressions with "b", then "f" to run. When an S-expression with a breakpoint is evaluated, the execution pauses. "f" to continue again. "G" to ignore all the breakpoint and finish up the execution. "q" to exit and go to top level at once.
There are more commands for this debugging feature, but for me these commands are enough to get started with debugging small elisp function. I'll look into other commands.
It's very simple. Just "edebug-defun" pointing to a function definition, and you can trace the function when evaluated.
Call the function, then set breakpoints at S-expressions with "b", then "f" to run. When an S-expression with a breakpoint is evaluated, the execution pauses. "f" to continue again. "G" to ignore all the breakpoint and finish up the execution. "q" to exit and go to top level at once.
There are more commands for this debugging feature, but for me these commands are enough to get started with debugging small elisp function. I'll look into other commands.
登録:
投稿 (Atom)