From mboxrd@z Thu Jan 1 00:00:00 1970 From: OSiUX Subject: Re: Hierarchical calculations Date: Tue, 7 Feb 2012 20:30:16 -0300 Message-ID: <20120207233016.GB11138@merlot.gcoop.coop> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuuUV-00068O-Pj for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 18:30:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuuUR-0007ZZ-Pj for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 18:30:27 -0500 Received: from merlot.gcoop.coop ([67.208.113.123]:35984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuuUR-0007ZK-Il for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 18:30:23 -0500 Received: from merlot.gcoop.coop (merlot [127.0.0.1]) (Authenticated sender: xuiso@osiux.com.ar) by merlot.gcoop.coop (Postfix) with ESMTPSA id 77A7614874C for ; Tue, 7 Feb 2012 20:30:35 -0300 (ART) Content-Disposition: inline In-Reply-To: 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 --EuxKj2iCbKjpUGkD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El mar, 07 feb 2012, Rick Moynihan dec=C3=ADa: > Hi all, > I recently wanted to use org-mode to do some simple calculations where > estimate values would hierarchically bubble up a tree, in a similar wa= y to > checkbox percentages e.g. > * Total Effort [110] > ** Task 1 [45] > *** Task 1.1 [20] > *** Task 1.2 [10] > *** Task 1.3 [15] > *** Task 1.4 [10] > ** Task 2 [65] > Non leaf nodes would have their values automatically updated on a C-c = C-c > to the sum of their children. =C2=A0Is there a way of doing something = similar > to this at the moment? =C2=A0Maybe with property drawers or otherwise?= =C2=A0 > R. Try this: #+begin_example #+COLUMNS: %50ITEM %10Effort{$} %10CASH{$} ***** DONE my item CLOSED: [2012-01-03 mar 14:46] :LOGBOOK:... :PROPERTIES: :Effort: 10.50 :CASH: 20.20 :END: #+end_example -- :: Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJPMbQIAAoJEKeZsiZ0yKP+wG0QAKh8sZ4VDLpJzlGRtGQ4Hcjy dtjbmCzKKeDQXg1/AtL9R0GIO8s8vinuaXmlFEkpXEhnf6mXhscD2qmPuJ4v8/2h sIAPCgBfgd9TN6QpWcqCtaEvH5BtH8d3tx8wR4bZWplTjSHLmeTWXkeQFEqzfRiN Z6yi5/SJpilqDviuRY+Q+yl1OFg9tXZc4+A1H8/OiaoJJdUUKZynG48+jZTonhDI kGwtMo4uv+WruBcWUsCIqIK3Q95Ehk2UpoE+AzB1e08yq3U4WUvfdpIfPICVUDYD P2w9Zoxo7EwBOaQBiLohzru3pi8/00s2SsqOAe/TlDikElnhC51mh5QFAvIUL/2L YwA48raZzAJyp0+kDICdEkz5tRF6hrETPlgI9VATE4diBW462p562cdh8Sd3Z6i/ QaNb5j1T2seo3NWCsBkkZO6d1W7fxnVYsFK/Elvxcncq+BbUjRGqPpGA3EuIl+Cf Qmt/37IRC5Z7+83+FFNMm/U9kyI8WuWpoO1Ykiwu885HRqDcQTeDJodYhyBo3H6B IiOmP1topcbpdhGFEpKwP8xhtAZTneB+cNu5OLeyAH0fbg231x+HUyz4hUDI1V8e CVZlYoiUatAGobV501dwYCG5k6kfqxHY6ouD9cFWfyuf/g/bXjEK2v5+iAOMgTsy iyir2ZwG7suwlmEiSxB5 =bgSj -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD--