Eric S Fraga <e.fr...@ucl.ac.uk> writes:

> Carsten Dominik <carsten.domi...@gmail.com> writes:
>
>> On May 13, 2011, at 1:43 PM, Matt Lundin wrote:
>
> [...]
>
>>> 
>>> I cannot reproduce this. Here are the steps I took.
>>
>> I cannot reproduce it either.  debug-on-error, and make a backtrace???
>
>
> Argghhh... I cannot reproduce now either.  Sigh.  Very strange. <blush>
>
> Everything works as I would like/expect!  Sorry for the noise.

Actually, to help redeem myself a little... the problem was that I was
trying to bind the org-clock-in command *with* argument to a key and
that's where I was going wrong.  Silly elisp error:  I did

: (global-set-key (kbd "<f9> <f9>") '(lambda () (interactive) (org-clock-in 4)))

instead of the correct

: (global-set-key (kbd "<f9> <f9>") '(lambda () (interactive) (org-clock-in 
'(4))))

Note the argument to org-clock-in.  As the argument was wrong,
org-clock-in was trying to find a headline to clock in on, which is
perfectly logical of course!

Again, sorry for the noise and thanks for the speedy responses!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.274.gd6aba.dirty)

Reply via email to