Thank you, that was exactly what I was looking for.If you want to list in a buffer all the commands typed so far, use M-x list-command-history.
Search found 4 matches
- Wed Oct 31, 2012 9:08 pm
- Forum: Emacs Lisp
- Topic: Watch elisp functions as they are executed in emacs
- Replies: 3
- Views: 35284
Re: Watch elisp functions as they are executed in emacs
- Wed Oct 31, 2012 11:50 am
- Forum: Emacs Lisp
- Topic: Retrieve source code of a function in emacs lisp
- Replies: 2
- Views: 31667
Retrieve source code of a function in emacs lisp
Is there a function that extracts the source code definition of a given function in elisp? For example, supposing "get-source" does what I need, ELISP> (defun say-hi () "Says hi" (message "Hi")) say-hi ELISP> (get-source 'say-hi) "(defun say-hi () "Says hi&quo...
- Sun Oct 28, 2012 8:06 pm
- Forum: Emacs Lisp
- Topic: Watch elisp functions as they are executed in emacs
- Replies: 3
- Views: 35284
Watch elisp functions as they are executed in emacs
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?
- Sun Oct 28, 2012 9:58 am
- Forum: Emacs Lisp
- Topic: Do "global-set-key" for future sessions programmatically
- Replies: 1
- Views: 32427
Do "global-set-key" for future sessions programmatically
I need to create a function "global-set-key-future", which does the same as "global-set-key", except that the new keybinding goes into effect in future sessions. There are at least two ways to do this, neither of which I know how to do: 1) Define a function "global-set-key-f...