auto sync for emacs