From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Matt Lundin <mdl@imapmail.org>, emacs-orgmode@gnu.org
Subject: Re: starting a clock when not in org-mode
Date: Fri, 13 May 2011 13:18:18 +0100 [thread overview]
Message-ID: <87ipte94l1.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87vcxe94u8.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 13 May 2011 13:12:47 +0100")
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> Carsten Dominik <carsten.dominik@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)
next prev parent reply other threads:[~2011-05-13 12:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-13 9:17 starting a clock when not in org-mode Eric S Fraga
2011-05-13 11:43 ` Matt Lundin
2011-05-13 11:53 ` Carsten Dominik
2011-05-13 12:12 ` Eric S Fraga
2011-05-13 12:18 ` Eric S Fraga [this message]
2011-05-13 12:32 ` Bernt Hansen
2011-05-13 11:46 ` Sebastien Vauban
2011-05-13 12:14 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ipte94l1.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.