emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brett Viren <bv@bnl.gov>
To: emacs-orgmode@gnu.org
Subject: Re: Nested list with percent-complete in multiple states?
Date: Thu, 11 Apr 2013 13:36:33 -0400	[thread overview]
Message-ID: <ir461ztezq6.fsf@lycastus.phy.bnl.gov> (raw)
In-Reply-To: <87k3o9rth7.fsf@bzg.ath.cx> (Bastien's message of "Thu, 11 Apr 2013 17:13:08 +0200")

[-- Attachment #1: Type: text/plain, Size: 1883 bytes --]

Bastien <bzg@gnu.org> writes:

> Check boxes have only three state: empty, checked, undecided.
>
> If you need more states, I suggest using a property.
> Then the column view can be used to display a summary
> of the "sum" of all properties in the subtree.

Thanks for the pointer, Bastien.  This looks like a fine way to do
things.  

I've been able to "capture" the columnview into another .org file and
then export that to an HTML file.  Is there a way to automate these
three steps?


Notes on what I did so far follow.

In a "notes.org":

* Document status
 :PROPERTIES:
 :COLUMNS: %25ITEM(Section) %25Responsible %3Received{X} %3Converted{X} %3Editing{X} %3Frozen{X}
 :Responsible_ALL: Person1 Person2 Person3
 :Received_ALL: "[ ]" "[X]"
 :Converted_ALL: "[ ]" "[X]"
 :Editing_ALL: "[ ]" "[X]"
 :Frozen_ALL: "[ ]" "[X]"
 :ID:       document-status
 :END:   

** Section 1
*** Subsection 1.1
     :PROPERTIES:
     :Responsible: Person1
     :Received: [X]
     :Converted: [ ]
     :END:


Etc for other sections.  Hints:

 - only need to add properties in sub (or subsub, etc) sections where
   they are strictly needed.  Parents inherit from children

 - don't actually edit :PROPERTIES: by hand instead do C-c C-x C-c to
   turn on columns and "e" in a cell to edit it with values from the
   list of possible ones in the *_ALL and/or do C-c C-c to toggle values

I shall look into adding numerical values to get %-done type columns.

Then for presentation.  As per

  http://orgmode.org/manual/Capturing-column-view.html

To make presentation with just this tree of info make another file
"status.org" with:

* Status
#+BEGIN: columnview :vlines t :hlines 1 :id "document-status"
#+END:

Go to "BEGIN" and hit C-c C-c and a table will be inserted.  Then a
normal export to HTML can be done.   


-Brett.


[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2013-04-11 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11 14:00 Nested list with percent-complete in multiple states? Brett Viren
2013-04-11 15:13 ` Bastien
2013-04-11 17:36   ` Brett Viren [this message]
2013-04-12  5:39     ` Bastien
2013-04-15 18:26       ` Suvayu Ali

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=ir461ztezq6.fsf@lycastus.phy.bnl.gov \
    --to=bv@bnl.gov \
    --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).