Next: , Previous: Getting Started, Up: Getting Started


5.1 Tasks

Let us start by creating a task labelled

     Join http://mail.gna.org/listinfo/planner-el-discuss/

From anywhere (even this info buffer!), call M-x planner-create-task-from-buffer to create a new task. Fill in the description and choose a date by:

For now, accept the default (‘today’) by pressing <RET>.

You will then be prompted for a plan page. Plan pages gather related tasks and notes, giving you an overview of what you've done so far. You can accept the default TaskPool, create your own plan page, or specify nil to make a task that is not associated with a plan page. For now, accept the default (‘TaskPool’) by pressing RET.

You have created your first task. View today's page with M-x planner-goto-today. You will see a line of the form

     #B  _ Join http://mail.gna.org/listinfo/planner-el-discuss/ (TaskPool)

If you created the task from this page, then there will be an additional annotation:

     #B  _ Join http://mail.gna.org/listinfo/planner-el-discuss/ : Tasks (TaskPool)

The URL, ‘TaskPool’ and ‘Getting Started’ are hyperlinks. You can use TAB and S-TAB to navigate between them and RET to follow the link.

Create more tasks using M-x planner-create-task-from-buffer. This is bound to C-c C-t in planner-mode pages for your convenience. For example, create the following tasks:

Tip: I bind planner-create-task-from-buffer to "F9 t" so that I can easily call it from anywhere. You can do that with this elisp fragment: (global-set-key (kbd "<f9> t") 'planner-create-task-from-buffer)

Next, visit the TaskPool by:

You can see an overview of the tasks as scheduled on different days. Unlike many personal information managers that store all of your data in one file and then perform magic in order to present different views, Planner uses plain text files. The data is duplicated and kept updated by functions. This makes it simpler and easier to modify, because what you see is (almost) what you get. On the other hand, you'll need to get used to either editing both files, or using the built-in functions for editing and updating files. If you prefer not to work with linked tasks, you can configure Planner to use only plan pages or use only day pages.

The TaskPool page should list the tasks you created earlier. Go to the one named Learn how to schedule a task . Type C-c C-c (planner-copy-or-move-task) to schedule the task. Type RET to accept the default (today). Go to the day page by following the link or calling M-x planner-goto (C-c C-j C-d or the menu bar); you will see the newly-created task there. You can also use C-c C-c (planner-copy-or-move-task) to reschedule a task to an earlier or later date.

Well, that task is done. To mark the task as completed, type C-c C-x (planner-task-done). You can also edit the status manually (change _ to X) as long as you remember to call M-x planner-update-task to update the link page as well. Updating relies on the task description being the same, so do not edit this manually.

Quick summary of commands:

You can save your tasks with C-x C-s the same way you save any other file, or Emacs will prompt you to save it when you exit.