emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: special status for state-log plain list elements?
Date: Tue, 10 Jun 2014 11:10:33 +0800	[thread overview]
Message-ID: <87k38p4fyu.fsf@ericabrahamsen.net> (raw)

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.

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).

It's probably feature creep! But it would make some interesting things
easier. My most immediate use-case would be a function in the Agenda
which shows the most recent state log of the item under point. That way
you could see what an item was WAITing on, or what you're actually
supposed to do NEXT, and so on.

And, in the back of my head, I've always felt that Org should be able to
do arbitrary value logging -- sort of a generalization of org-clock.
That would be a project for a very rainy day indeed, but this would be a
bit of the groundwork done.

Anyway, let me know if this would be acceptable in principle (and to
what extent), and I can take a stab at a patch.

Eric

             reply	other threads:[~2014-06-10  3:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10  3:10 Eric Abrahamsen [this message]
2014-06-10 19:58 ` special status for state-log plain list elements? Nicolas Goaziou
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=87k38p4fyu.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).