[emacs] Add mouse support