emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: Automatically scheduling tasks onto TaskPool


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: Automatically scheduling tasks onto TaskPool
Date: Tue, 14 Jun 2005 17:16:07 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Peter K.Lee <address@hidden> writes:

> Just wondering, is there a way to force the update-fixing to become a
> defadvice that always runs *last* around planner-task-done?

Use the new planner-mark-task-hook variable introduced in dev-411. =)
This will probably work:

(defun peter/planner-fix-tasks (old-status new-status)
 "Fix tasks whenever a task's status changes.
NOTE: Make this the last function in `planner-mark-task-hook'."
 (planner-fix-tasks))

-- 
Sacha Chua <address@hidden> - open source geekette
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
interests: emacs, gnu/linux, personal information management, CS ed
sachac on irc.freenode.net#emacs . YM: sachachua83




reply via email to

[Prev in Thread] Current Thread [Next in Thread]