emacs config refactoring