From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: special status for state-log plain list elements?
Date: Wed, 11 Jun 2014 09:54:12 +0800 [thread overview]
Message-ID: <87egywcit7.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 8761k8ilju.fsf@selenimh.mobile.lan
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Eric Abrahamsen <eric@ericabrahamsen.net> 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
prev parent reply other threads:[~2014-06-11 1:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 3:10 special status for state-log plain list elements? Eric Abrahamsen
2014-06-10 19:58 ` Nicolas Goaziou
2014-06-11 1:54 ` Eric Abrahamsen [this message]
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=87egywcit7.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-orgmode@gnu.org \
/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).