Today's hidden Emacs gem: pressing C-c C-b in an ielm buffer lets you associate it with a buffer, so you can inspect buffer-local variables.