add some configuration for builtin emacs modes