all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: OSiUX <xuiso@osiux.com.ar>
To: emacs-orgmode@gnu.org
Subject: Re: Hierarchical calculations
Date: Tue, 7 Feb 2012 20:30:16 -0300	[thread overview]
Message-ID: <20120207233016.GB11138@merlot.gcoop.coop> (raw)
In-Reply-To: <CAGFeSaPgzBGn52-hk2EL5t=p_SDWCnYHxYwhzvX_-YbmR539ew@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2012-02-07 23:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 22:42 Hierarchical calculations Rick Moynihan
2012-02-07 23:30 ` OSiUX [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120207233016.GB11138@merlot.gcoop.coop \
    --to=xuiso@osiux.com.ar \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.