Automatic commit by emacs