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

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

[emacs-wiki-discuss] Re: Automatically run planner-trunk-tasks and plann


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: Automatically run planner-trunk-tasks and planner-sort-tasks
Date: Tue, 14 Jun 2005 18:29:31 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Alex Polite <address@hidden> writes:

> Every time a task is added or removed I want to run
> planner-trunk-tasks, planner-sort-tasks and save-buffer
> automatically on every page containing that task.

You can add something to planner-create-task-hook (or
planner-create-task-from-buffer-hook) to deal with task creation, and
you can defadvice planner-delete-task to deal with task deletion.
Alternatively, you can write your own function, change the
keybindings, and then call the original functions from those
functions.

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