emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Phil Mason" <phil.mason@broadcom.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Counting total number of projects
Date: Fri, 19 Oct 2012 10:30:34 +0000	[thread overview]
Message-ID: <2D76BBD878DB8B49BBE309F15526B38E1BC6E4EE@SJEXCHMB06.corp.ad.broadcom.com> (raw)
In-Reply-To: <CAFrmxDc9SAcO0nYZ4PT2Y-jtopi5pd6_xV4oS8aL=AV8=a_EVw@mail.gmail.com>

Hi Chris,

> Is there any way to calculate total number of projects in real-time such that,

If you don't mind marking your projects as TODO then you can use statistics cookies like this:

* Projects [%] [/]
** TODO project 1
   + foo
** DONE project 2
   + bar
** TODO project 3
   + baz
** TODO project 4
   + qux

And then the projects line should show (4 projects, 3 in progress, 1 completed):

* Projects [25%] [1/4]

There is more on the checkboxes page of the manual here:

http://orgmode.org/manual/Checkboxes.html#Checkboxes

I tend to have todo lists for each projects so I need the recursive property after the projects line like this:

* Projects [%] [/]
:PROPERTIES:
:COOKIE_DATA: recursive
:END:
** TODO project 1
...

Hope this helps

Phil


      parent reply	other threads:[~2012-10-19 11:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19  9:28 Counting total number of projects Chris Henderson
2012-10-19 10:01 ` Sebastien Vauban
2012-10-19 10:30 ` Phil Mason [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

  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=2D76BBD878DB8B49BBE309F15526B38E1BC6E4EE@SJEXCHMB06.corp.ad.broadcom.com \
    --to=phil.mason@broadcom.com \
    --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).