refactory .emacs