control q closes emacs and f3 and f4 are for recording and playing macros