Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view history of various commands in Emacs

Tags:

emacs

elisp

Commands entered after pressing M-x can be viewed using the up/down arrow keys.

How can I get a list of all the commands including menu bar invocation, commands triggered using mouse clicks, etc. in Emacs?

like image 730
Talespin_Kit Avatar asked Mar 07 '12 13:03

Talespin_Kit


People also ask

How do I check command history?

Check Command History With DoskeyLaunch the Command Prompt from the Start menu and type the following the pop-up window: “ doskey /history “ Press “Enter.” The commands you've executed in the active session will appear in the Command Prompt window.

How do I run Emacs commands?

You can run any Emacs command by name using M-x , whether or not any keys are bound to it. If you use M-x to run a command which also has a key binding, it displays a message to tell you about the key binding, before running the command.


1 Answers

For a complete list of history, type C-h l (lowercase "L").

Note: this list is complete in the sense that it keeps all events and commands that happened recently, but it's not complete in the sense that it only keeps track of the last 300 or so events (and corresponding commands).

like image 61
bos Avatar answered Oct 05 '22 10:10

bos