Emacs compatibility stuff