From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Filippo A. Salustri" Subject: Setting a task's priority based on its subtasks priorities Date: Thu, 12 Apr 2012 20:55:42 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3056385f93435f04bd84ee7a Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIUnl-0002kf-0X for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 20:55:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIUni-0000cQ-1m for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 20:55:48 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:39573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIUnh-0000bz-Im for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 20:55:45 -0400 Received: by yhr47 with SMTP id 47so1714182yhr.0 for ; Thu, 12 Apr 2012 17:55:42 -0700 (PDT) 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 mailing list --20cf3056385f93435f04bd84ee7a Content-Type: text/plain; charset=ISO-8859-1 Hi all, I'm looking for a little coding help. I want to try to a task's priority automatically, based on the priorities of its subtasks. Specifically, I'd like to set the priority of the task to the priority of the highest-priority subtask. And I'd like that task priority to be updated (if necessary) automatically any time I change the priority of one of its subtasks. Can anyone offer me any pointers or boilerplate code I could use to kick this off? Cheers. Fil -- \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salustri@ryerson.ca http://deseng.ryerson.ca/~fil/ --20cf3056385f93435f04bd84ee7a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,
I'm looking for a little coding help.

<= div>I want to try to a task's priority automatically, based on the prio= rities of its subtasks.
Specifically, I'd like to set the pri= ority of the task to the priority of the highest-priority subtask.
And I'd like that task priority to be updated (if necessary) autom= atically any time I change the priority of one of its subtasks.
<= br>
Can anyone offer me any pointers or boilerplate code I could = use to kick this off?

Cheers.
Fil

--
\= V/_
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Eng= ineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, = Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson= .ca/~fil/

--20cf3056385f93435f04bd84ee7a--