add emacs mode and update install-emacs-config.sh to support auto sync submodules