make emacs modulized