When I do something inside Emacs, with the buffer *Messages* you get some idea what happened. But it's only if that function is echoing a message for the minibuffer. Then *Messages* keeps a record of messages that are echoed.

I remember there was a buffer where all commands were listed that are executed. But I cannot find it back in the Emacs documentation. It displayed also functions that are not echoing any message at all.

Do anyone know about which function I'm talking?

2 Answers 2


This project is also a good alternative: https://github.com/michael-heerdegen/interaction-log.el


view-lossage will show the last few hundred keystrokes. There's also command-log-mode which records the keystrokes and the command it executed.

  • Thanks db48x, I was looking for view-lossage I think. Is there another list that keeps record of the latest evaluated commands (so without pressing the keys)?
    – ReneFroger
    Nov 29, 2015 at 22:59
  • 1
    There's also github.com/michael-heerdegen/interaction-log.el
    – djangoliv
    Nov 30, 2015 at 15:49
  • 1
    @djangoliv, I wished you posted it as answer, so I could validate it as the right answer. Thanks for the link!
    – ReneFroger
    Nov 30, 2015 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.