migrating to emacs24