Dave Abrahams <d...@boostpro.com> writes: > > Debugger entered--Lisp error: (error "Before first headline at position 1142 > in buffer *Org Agenda*") > signal(error ("Before first headline at position 1142 in buffer *Org > Agenda*")) > error("Before first headline at position %d in buffer %s" 1142 #<buffer > *Org Agenda*>)
There's another function to use from the agenda: org-agenda-todo-yesterday -Bernt PS. I posted a patch for your clocking error 3 days ago but forgot to CC you on it so I guess you missed it.