updated snippets for .emacs