emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: special status for state-log plain list elements?
Date: Tue, 10 Jun 2014 21:58:29 +0200	[thread overview]
Message-ID: <8761k8ilju.fsf@selenimh.mobile.lan> (raw)
In-Reply-To: <87k38p4fyu.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 10 Jun 2014 11:10:33 +0800")

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.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-06-10 19:58 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 [this message]
2014-06-11  1:54   ` Eric Abrahamsen

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=8761k8ilju.fsf@selenimh.mobile.lan \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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).