emacs: several changes