refactoring .emacs