emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Parsing of todo state log lines
Date: Wed, 16 May 2018 21:49:09 +0200	[thread overview]
Message-ID: <CALn3zogwNYTr1yrcm2MrBjg371ZonuDr9FaYwcqLExsp8V=HGw@mail.gmail.com> (raw)
In-Reply-To: <87k1s3to59.fsf@nicolasgoaziou.fr>

Hi Nicolas

On Wed, May 16, 2018 at 9:07 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Michael Brand <michael.ch.brand@gmail.com> 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	other threads:[~2018-05-16 19:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15  9:38 Parsing of todo state log lines Michael Brand
2018-05-16 19:07 ` Nicolas Goaziou
2018-05-16 19:49   ` Michael Brand [this message]
2018-05-16 20:08     ` Nicolas Goaziou
2018-05-16 20:21       ` Michael Brand
2018-05-16 20:42         ` Nicolas Goaziou
2018-05-16 21:04           ` Michael Brand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALn3zogwNYTr1yrcm2MrBjg371ZonuDr9FaYwcqLExsp8V=HGw@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).