emacs-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: Emacs attach an action to any key pressed
From
:
Ivanov Dmitry
Subject
:
Re: Emacs attach an action to any key pressed
Date
:
Wed, 5 Jun 2013 11:56:19 +0400
I tried this:
(defun dummy ()
(interactive)
(message "aaa")
(remove-hook 'post-command-hook 'dummy))
(add-hook 'post-command-hook 'dummy)
It prints "aaa" exactly after I press C-x e on add-hook command. But I want it to print only when I press any key afterwards. What should I do?
reply via email to
[
Prev in Thread
]
Current Thread
[
Next in Thread
]
Emacs attach an action to any key pressed
,
Ivanov Dmitry
,
2013/06/05
Re: Emacs attach an action to any key pressed
,
Magnar Sveen
,
2013/06/05
Re: Emacs attach an action to any key pressed
,
Ivanov Dmitry
<=
Re: Emacs attach an action to any key pressed
,
Kevin Rodgers
,
2013/06/05
Re: Emacs attach an action to any key pressed
,
Stefan Monnier
,
2013/06/05
Re: Emacs attach an action to any key pressed
,
Ivanov Dmitry
,
2013/06/05
Prev by Date:
Re: Emacs attach an action to any key pressed
Next by Date:
Re: macros and the lexical environment
Previous by thread:
Re: Emacs attach an action to any key pressed
Next by thread:
Re: Emacs attach an action to any key pressed
Index(es):
Date
Thread