Marc Ihm m...@ihm.name writes:
(global-set-key (kbd f12) (lambda () (interactive) (execute-kbd-macro
(kbd C-c a v
(global-set-key (kbd f12) (kbd C-c a v))
might be a little easier to read and type. Explanation is :
global-set-key can take any command as argument, and the definition of
At Mon, 17 Feb 2014 10:43:48 +0100,
Nicolas Richard wrote:
Marc Ihm m...@ihm.name writes:
(global-set-key (kbd f12) (lambda () (interactive) (execute-kbd-macro
(kbd C-c a v
(global-set-key (kbd f12) (kbd C-c a v))
Ah, these are nice to know. Thanks, guys.
--
yashi
Hi Thorsten,
At Sat, 15 Feb 2014 18:34:07 +0100,
Thorsten Jolitz wrote:
so instead of binding the dispatcher function to a global key you can
bind one or more of the specific functions, e.g.
,
| (global-set-key (kbd f12) 'org-agenda-list)
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,
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
Yasushi SHOJI ya...@atmark-techno.com writes:
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'
Hi,
On Feb 15, 2014 11:38 PM, Thorsten Jolitz tjol...@gmail.com wrote:
,---
| (global-set-key (kbd f12) 'org-agenda)
`---
Thanks, but that's still two keys away. I want a single key to call the
function.
Yasushi SHOJI ya...@atmark-techno.com writes:
Hi,
On Feb 15, 2014 11:38 PM, Thorsten Jolitz tjol...@gmail.com wrote:
,---
| (global-set-key (kbd f12) 'org-agenda)
`---
Thanks, but that's still two keys away.