make emacs setup more flexible