emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Parsing of todo state log lines


From: Michael Brand
Subject: Re: [O] Parsing of todo state log lines
Date: Wed, 16 May 2018 21:49:09 +0200

Hi Nicolas

On Wed, May 16, 2018 at 9:07 PM, Nicolas Goaziou <address@hidden> wrote:
> Hello,
>
> Michael Brand <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]