add plugins for emacs

To work with emacs by using emacs --deamon and emacsclient
This function is duplicated.