Mostly emacs stuff