some adapted emacs modes