In graphical emacs on OS X, (read-event) in the scratch buffer produces left, however in iterm2 (which I configured to send esc-* for arrow keys), I get something like


when I press the left arrow. Configuring iterm2 to use esc for arrow keys works well with the other programs I use and I am reluctant to change it. Is there another function I can use instead of read-event that will pick up the entire arrow key?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.