I use most of the setup of http://doc.norang.ca/org-mode.html. Now I want to clock in to a task by default after startup. Reason/workflow is as follows: every morning I turn on my computer and Emacs starts automatically (via GNOME autostart). In the meantime I get a coffee. And when I'm back at my desk I forget to clock in.
I tried simply calling
(run-with-idle-timer 5 nil 'bh/clock-in-organization-task-as-default)
but it doesn't work and throws me an error:
byte-code: Before first headline at position 1 in buffer *scratch*
What am I doing wrong?
bh/clock-in-organization-task-as-default
viaM-x
same error appears and all org files are opened. – ckruse May 24 '16 at 11:38bh/organization-task-id
to a GUID that's defined for your default task (via "ID" in the "PROPERTIES" drawer for your default item. you can create one by putting the point in that task and runningM-x org-id-copy
, then making surebh/organization-task-id
is set to that same ID). – Stuart Hickinbottom May 24 '16 at 11:52