Watch elisp functions as they are executed in emacs

Discussion of Emacs Lisp

Watch elisp functions as they are executed in emacs

Postby erjoalgo » Sun Oct 28, 2012 8:06 pm

Is it possible to "watch" elisp commands as they are executed in an emacs session? For example, if I send "C-x C-f filePath", emacs runs the command "find-file filePath". How do I see the the commands, along with their arguments, that get run under an emacs session?
erjoalgo
 
Posts: 4
Joined: Sun Oct 28, 2012 9:31 am

Re: Watch elisp functions as they are executed in emacs

Postby stackman » Mon Oct 29, 2012 4:04 am

You are not posting in the correct section of the forum.
Post in the emacs lisp section, you will get more answers.

Also try to be a bit more specific in your queries.
What do you mean by "see" or "watch" commands ?

If you want to display the documentation of a command, use the shortcut C-h f
followed by the name of the command. If you want to know what command is
bound to a shortcut, use C-h k then enter the shortcut. If you are interested in
what has happened so far, just look at the contents of the *Messages* buffer (C-x b RET *Messages* RET).
If you want to list in a buffer all the commands typed so far, use M-x list-command-history.
stackman
 
Posts: 28
Joined: Sat Oct 06, 2012 5:44 am

Re: Watch elisp functions as they are executed in emacs

Postby Ramarren » Tue Oct 30, 2012 7:33 am

I have moved the topic to Emacs Lisp section.
Ramarren
 
Posts: 613
Joined: Sun Jun 29, 2008 4:02 am
Location: Warsaw, Poland

Re: Watch elisp functions as they are executed in emacs

Postby erjoalgo » Wed Oct 31, 2012 9:08 pm

If you want to list in a buffer all the commands typed so far, use M-x list-command-history.


Thank you, that was exactly what I was looking for.
erjoalgo
 
Posts: 4
Joined: Sun Oct 28, 2012 9:31 am


Return to Emacs Lisp

Who is online

Users browsing this forum: No registered users and 2 guests