Hi Yaushi, how about
(global-set-key (kbd "<f12>") (lambda () (interactive) (execute-kbd-macro (kbd "C-c a v")))) ? best regards Marc P.s.: In my opinion, the name "execute-kbd-macro" of this builtin function is somewhat misleading; "replay-keys" describes this usage closer ... Am 15.02.2014 14:35, schrieb Yasushi SHOJI:
Hello, These days I hit `C-c a v' many many times a day, and now feel that the three key combination is too much. I'd like to improve the situation by binding the same functionality to a key, say, F12, if possible. Looking at the `org-agenda' dispatch code, there are quite a few lines before calling `org-agenda-list'. Simply binding `org-agenda-list' to a key does not seem to work. Is there a simple way to do it? Or do I have to re-implement my own function? Thanks in advance,