[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] starting a clock when not in org-mode

From: Eric S Fraga
Subject: Re: [O] starting a clock when not in org-mode
Date: Fri, 13 May 2011 13:18:18 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Eric S Fraga <address@hidden> writes:

> Carsten Dominik <address@hidden> 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 

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
: using Org-mode version 7.5 (release_7.5.274.gd6aba.dirty)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]