[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: Planner - Plan Pages - Tasks
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: Planner - Plan Pages - Tasks |
Date: |
Wed, 08 Jun 2005 23:33:18 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Chris McMahan <address@hidden> writes:
> That's a good question. Unless I have a specific date in mind, I
> always default to placing tasks on today's page (the suggested value
> on creating a task)
Oh, you might find this handy. The following code automatically
schedules a task onto today unless you use C-u to mean prompt for a
date.
(defun sacha/planner-read-task ()
"Return a list of information for a task.
Universal prefix means don't schedule the task onto today."
(list
(read-string "Describe task: ")
(if current-prefix-arg
(planner-read-date)
(planner-today))
(when planner-use-plan-pages
(let ((planner-default-page
(if (and (planner-derived-mode-p 'planner-mode)
(planner-page-name)
(not (string-match planner-date-regexp
(planner-page-name))))
(planner-page-name)
planner-default-page)))
(planner-read-non-date-page
(planner-file-alist))))
planner-default-task-status))
(defalias 'planner-read-task 'sacha/planner-read-task)
> On trying this, the task is only placed in the page I specify on
> creating it (the plan page you're on, or if on the daily page, the
> taskpool), but not the daily page. No daily page, no task to carry
> forward.
Alternatively, you can make planner-expand-name-default nil to default
to unscheduled tasks... =)
> You can default to a single page for all of your unscheduled tasks
> as well, and then access that task page when prioritizing the tasks.
> Go to the task and execute the function
...
> The disadvantage here is that the task is now separated from the
> plan page that it might relate to. hmmm....
Why not use planner-multi to associate it with both? =)
--
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
- [emacs-wiki-discuss] Planner - Plan Pages - Tasks, Paul D. Kraus, 2005/06/08
- Message not available
- Re: [emacs-wiki-discuss] Planner - Plan Pages - Tasks, Paul D. Kraus, 2005/06/08
- [emacs-wiki-discuss] Re: Planner - Plan Pages - Tasks, Sacha Chua, 2005/06/08
- Re: [emacs-wiki-discuss] Re: Planner - Plan Pages - Tasks, Paul D. Kraus, 2005/06/08
- Re: [emacs-wiki-discuss] Re: Planner - Plan Pages - Tasks, Patricia J. Hawkins, 2005/06/08
- [emacs-wiki-discuss] Automatically scheduling tasks onto TaskPool (was Re: Planner - Plan Pages - Tasks), Sacha Chua, 2005/06/08
- [emacs-wiki-discuss] Re: Automatically scheduling tasks onto TaskPool, Sacha Chua, 2005/06/09
- Re: [emacs-wiki-discuss] Automatically scheduling tasks onto TaskPool, Peter K . Lee, 2005/06/09
- [emacs-wiki-discuss] Re: Automatically scheduling tasks onto TaskPool, Sacha Chua, 2005/06/14
- Re: [emacs-wiki-discuss] Mark Task (hooks and fixin's), Peter K . Lee, 2005/06/16
- [emacs-wiki-discuss] Re: Mark Task (hooks and fixin's), Sacha Chua, 2005/06/16
- [emacs-wiki-discuss] Re: Automatically scheduling tasks onto TaskPool, Sacha Chua, 2005/06/10