misc emacs snippets