Rather than try to discuss the issue, I'll just give (hopefully simple enough) steps which will reproduce it.
Visit an org-mode buffer, with the following contents: #--------------- #+STARTUP: logdrawer #+TODO: APPT(a) | DONE(d!) * APPT <2015-09-03 Thu +1m> ack :PROPERTIES: :FOO: Bar :END: #--------------- With point on the line "* APPT ...", do C-t d i.e. (org-todo) and then choose "d". The file is then transformed as follows: --------------- #+STARTUP: logdrawer #+TODO: APPT(a) | DONE(d!) * APPT <2015-10-03 Wed +1m> ack :PROPERTIES: :FOO: Bar :END: :LOGBOOK: :LAST_REPEAT: [2015-09-03 Thu 09:01] - State "DONE" from "APPT" [2015-09-03 Thu 09:01] :END: --------------- The behavior of the indentation on the line containing ":PROPERTIES:" seems odd. And I think the :LAST_REPEAT: line should have instead appeared in the property list, rather than in the LOGBOOK. Note that if instead the starting state is --------------- #+STARTUP: logdrawer #+TODO: APPT(a) | DONE(d!) * APPT <2015-09-03 Wed +1m> ack :PROPERTIES: :FOO: Bar :END: :LOGBOOK: - [2015-09-03 Thu] a comment :END: --------------- (i..e there is "already a LOGBOOK") then C-t d results in --------------- * APPT <2015-10-03 Sat +1m> ack :PROPERTIES: :FOO: Bar :LAST_REPEAT: [2015-09-03 Thu 09:04] :END: :LOGBOOK: - State "DONE" from "APPT" [2015-09-03 Thu 09:04] - [2015-09-03 Thu] a comment :END: --------------- so the LAST_REPEAT works as expected, but the indentation is still odd. org-version: 8.3.1 (from elpa). Best, george -- +=+=+ George McNinch <gmcninch(at)gmail.com> +=+=+ http://gmcninch.math.tufts.edu