Re: [Orgmode] Re: Bind C-u C-c C-x C-i to a key

2010-08-13 Thread Bastien
Andreas Burtzlaff and...@gmx.net writes:

 (defun ab-org-clock-in-select ()
   (interactive)
   (org-clock-in t))

 (global-set-key (kbd f12) 'ab-org-clock-in-select)

 Maybe there's a more elegant way I don't know about..

Maybe this one:

(global-set-key (kbd f12) (lambda() (interactive) (org-clock-in t)))

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Bind C-u C-c C-x C-i to a key

2010-08-13 Thread Bastien
Bastien bastien.gue...@wikimedia.fr writes:

 (global-set-key (kbd f12) (lambda() (interactive) (org-clock-in t)))

Forget this one -- Memnon Anon's solution is right.

Sorry for the noise...

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode