From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Viren Subject: Re: Nested list with percent-complete in multiple states? Date: Thu, 11 Apr 2013 13:36:33 -0400 Message-ID: References: <87k3o9rth7.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQLQN-0002nK-UF for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 13:36:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQLQM-0000Ky-G3 for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 13:36:39 -0400 Received: from smtpgw.bnl.gov ([2620:10a:0:3::30]:41720 helo=iron3.sec.bnl.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQLQM-0000KJ-BJ for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 13:36:38 -0400 Received: from localhost ([127.0.0.1] helo=lycastus.phy.bnl.gov) by lycastus.phy.bnl.gov with esmtp (Exim 4.80) (envelope-from ) id 1UQLQH-000720-SS for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 13:36:33 -0400 In-Reply-To: <87k3o9rth7.fsf@bzg.ath.cx> (Bastien's message of "Thu, 11 Apr 2013 17:13:08 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Bastien 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.=20=20 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} %3E= diting{X} %3Frozen{X} :Responsible_ALL: Person1 Person2 Person3 :Received_ALL: "[ ]" "[X]" :Converted_ALL: "[ ]" "[X]" :Editing_ALL: "[ ]" "[X]" :Frozen_ALL: "[ ]" "[X]" :ID: document-status :END:=20=20=20 ** 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.=20=20=20 =2DBrett. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlFm9KEACgkQEixH2Z0dKCwemwCfWBpw8SmYh+YCsl1wnvqX/gXS 6/YAnR3v0E5Sc+fyU7D2c9wuuGJ3ziZb =mcdw -----END PGP SIGNATURE----- --=-=-=--