A fault of modern source editors?
Posted Mar 19, 2008 22:12 UTC (Wed) by
quotemstr (subscriber, #45331)
In reply to:
A fault of modern source editors? by dw
Parent article:
Who maintains dpkg?
Try paredit-mode for Emacs when editing Lisp. It's a structured editing mode with commands that work on whole sexps instead of characters per se.
For example, with the cursor represented by |:
(xyzzy (g|)) + DEL -> (xyzzy (|))
(xyzzy (|)) + DEL -> (xyzzy |)
(xyzzy |foo) + M-x paredit-forward-barf-sexp (normally C-left) -> (xyzzy) |foo
It takes a little getting used to, but it's very handle, with lots of useful shortcuts; plus, when using it, the resulting code is always well-formed.
(
Log in to post comments)