emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Hierarchical calculations
@ 2012-02-07 22:42 Rick Moynihan
  2012-02-07 23:30 ` OSiUX
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Moynihan @ 2012-02-07 22:42 UTC (permalink / raw)
  To: emacs-orgmode

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

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 way 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.  Is there a way of doing something similar to
this at the moment?  Maybe with property drawers or otherwise?

R.

[-- Attachment #2: Type: text/html, Size: 743 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Hierarchical calculations
  2012-02-07 22:42 Hierarchical calculations Rick Moynihan
@ 2012-02-07 23:30 ` OSiUX
  0 siblings, 0 replies; 2+ messages in thread
From: OSiUX @ 2012-02-07 23:30 UTC (permalink / raw)
  To: emacs-orgmode

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

El mar, 07 feb 2012, Rick Moynihan decía:

>    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 way 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.  Is there a way of doing something similar
>    to this at the moment?  Maybe with property drawers or otherwise?  
>    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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-07 23:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-07 22:42 Hierarchical calculations Rick Moynihan
2012-02-07 23:30 ` OSiUX

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