[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: capturing commands
From: |
D . Goel |
Subject: |
Re: capturing commands |
Date: |
17 Oct 2002 11:03:56 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
> i would like to know if there was some way of capturing all commands
> executed while running emacs whether they be M-x yank, C-x C-s or just
> hitting the right arrow key
I see from other posts that there seems no built-in way to do this in
general (for both keystrokes and commands).
so i wonder if anyone sees any problem with this sort of approach--
(defvar command-history-my nil)
(add-hook 'post-command-hook
'(lambda ()
(push this-command command-history-my)))
this seems to work for me for both the cases... hmm..except i guess
when a command explicitly overrides the value of this-command..
- capturing commands, merik, 2002/10/16
- Re: capturing commands, Barry Margolin, 2002/10/16
- Re: capturing commands, Michael Slass, 2002/10/16
- Re: capturing commands, merik, 2002/10/16
- Re: capturing commands, Michael Slass, 2002/10/16
- Re: capturing commands, Artist, 2002/10/17
- Re: capturing commands, Bernd Wolter, 2002/10/18
- Re: capturing commands, Clemens Fischer, 2002/10/18
Re: capturing commands,
D . Goel <=