emacs: minor improvements