Hi, I've noticed that org-add-planning-info adds a superfluous space character when a repeated task is marked as DONE and gets rescheduled. Example: * TODO foo SCHEDULED: <2011-08-08 Mon +1d> This becomes (after pressing Shift-Right a few times): * TODO foo SCHEDULED: <2011-08-09 Tue +1d> :LOGBOOK: - State "DONE" from "WAITING" [2011-08-08 Mon 15:33] :END: :PROPERTIES: :LAST_REPEAT: [2011-08-08 Mon 15:33] :END: Note the additional space character before "SCHEDULED". I've attached a patch that seems to fix this issue. Best regards, Valentin