Jethro's Braindump

Talks: Emacs Lisp Development Tips with John Wiegley

Interactive debugging

  • In debug buffer: e to evaluate any lisp expression in stack-frame
  • use (debug) to enter debugger
  • eldoc-mode to show operation

Profiling

  • elp-instrument-function
  • elp-instrument-package

Speeding up Functions

  • mutation in place:
    • nconc
    • nreverse
    • setcar
    • setcdr