From mboxrd@z Thu Jan 1 00:00:00 1970 From: George McNinch Subject: property list indentation and TODO state changes Date: Thu, 03 Sep 2015 09:09:38 -0400 Message-ID: <82zj131wfh.fsf@jobim-via-gmail.com> Reply-To: George McNinch Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXUHK-0008B6-6a for emacs-orgmode@gnu.org; Thu, 03 Sep 2015 09:10:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXUHE-0002Z5-Fd for emacs-orgmode@gnu.org; Thu, 03 Sep 2015 09:10:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:55216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXUHE-0002Xf-8l for emacs-orgmode@gnu.org; Thu, 03 Sep 2015 09:10:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZXUHB-0000Jq-TA for emacs-orgmode@gnu.org; Thu, 03 Sep 2015 15:10:02 +0200 Received: from 209-6-122-78.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com ([209.6.122.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Sep 2015 15:10:01 +0200 Received: from gmcninch by 209-6-122-78.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Sep 2015 15:10:01 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 +=+=+ http://gmcninch.math.tufts.edu