Some hacks to emacs