refactoring .emacs file