some big emacs changes inspired by spacemacs