[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] special status for state-log plain list elements?
From: |
Eric Abrahamsen |
Subject: |
Re: [O] special status for state-log plain list elements? |
Date: |
Wed, 11 Jun 2014 09:54:12 +0800 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Eric Abrahamsen <address@hidden> writes:
>
>> Is there any chance of building slightly on org-element's parsing of
>> plain-lists, so that it lists which represent state logs are somehow
>> noted as such? I'm imagining that `org-element-plain-list-parser' could
>> be augmented to provide a (:log t) property, or if we accept that
>> state-log lists are always unordered, the :type property could even just
>> be 'log.
>
> I don't think what is done with lists has much to do with their syntax.
> Anyway, you can write a function to find such candidates, if needed,
> without overloading the parser (for little benefit).
>
>> For that it might be nice if list items knew if they were state-change
>> notes (State "WAIT" from "TODO", etc) or plain notes (Note taken on...
>> etc).
>
> This is not really possible, unless you forbid users to arbitrary start
> an item with "State "xxx" from "xxx"" or "Note taken on", i.e., you
> bless them as parts of Org syntax. I wouldn't go that far.
Okay, I guess that was the main question I was asking. No worries, then!
Thanks,
E