hooked up the user input emacs event which was accidentally dropped