From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Parsing of todo state log lines Date: Wed, 16 May 2018 21:49:09 +0200 Message-ID: References: <87k1s3to59.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJ2QB-0002Rf-Sm for emacs-orgmode@gnu.org; Wed, 16 May 2018 15:49:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJ2QB-0001le-00 for emacs-orgmode@gnu.org; Wed, 16 May 2018 15:49:11 -0400 Received: from mail-qt0-x22b.google.com ([2607:f8b0:400d:c0d::22b]:43152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJ2QA-0001lU-S1 for emacs-orgmode@gnu.org; Wed, 16 May 2018 15:49:10 -0400 Received: by mail-qt0-x22b.google.com with SMTP id f13-v6so2720197qtp.10 for ; Wed, 16 May 2018 12:49:10 -0700 (PDT) In-Reply-To: <87k1s3to59.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: Org Mode Hi Nicolas On Wed, May 16, 2018 at 9:07 PM, Nicolas Goaziou wrote: > Hello, > > Michael Brand writes: > >> There seems to be an inconsistency in parsing. When >> org-log-states-order-reversed is nil (which I am new to) and a TODO >> with the manually written state log lines >> >> - State "DONE" from "TODO" [2018-05-12 Sat] >> - State "DONE" from [2018-05-13 Sun] > > I think it should be > > - State "DONE" from "" [whatever] > > according to `org-log-note-headings'. I don't see this happen: When starting with this (the % and the ordering of the lines have been edited manually) - State "DONE" from "TODO" [2018-05-15 Tue 10:00] - State "DONE" from "%" [2018-05-15 Tue 10:00] - State "DONE" from "" [2018-05-15 Tue 10:00] - State "DONE" from [2018-05-15 Tue 10:00] and without todo keyword in the heading the logs change to - State "DONE" from "TODO" [2018-05-15 Tue 10:00] - State "DONE" from "%" [2018-05-15 Tue 10:00] - State "DONE" from [2018-05-16 Wed 21:45] - State "DONE" from "" [2018-05-15 Tue 10:00] - State "DONE" from [2018-05-15 Tue 10:00] So also "" is not recognized. And the new middle line is produced without "". Michael