[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Error on task creation since planner patch-136
From: |
Michael Heinrich |
Subject: |
Re: [emacs-wiki-discuss] Error on task creation since planner patch-136 |
Date: |
Mon, 19 Dec 2005 13:18:38 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Jim Ottaway <address@hidden> writes:
>>>>>> Michael Heinrich <address@hidden> writes:
>
>> Since planner patch-136 I get this error on task creation:
>
>> Debugger entered--Lisp error: (error "There is no task on the current
>> line")
> I don't see that here. Do you have anything in
> planner-create-task-hook that will modify the contents of the buffer
> after the task is created, such as sorting or planner-trunk-tasks?
Yes. I use planner-trunk with this advice for planner-sort-tasks-maybe:
,----
| (defun mh/trunk-by-project ()
| "Trunk by `my-projects'."
| (interactive)
| (let ((planner-trunk-rule-list
| (list (list "_.*" "Completed" my-projects)
| (list ".*" "Completed" '(".")))))
| (planner-trunk-tasks)))
|
| (defadvice planner-sort-tasks-maybe (before my-planner-trunk activate)
| "Trunk tasks before sort automatically if sorting is automatic"
| (when planner-sort-tasks-automatically
| (mh/trunk-by-project)))
`----
Regards, Michael.
- [emacs-wiki-discuss] Error on task creation since planner patch-136, Michael Heinrich, 2005/12/19
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Jim Ottaway, 2005/12/19
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136,
Michael Heinrich <=
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Jim Ottaway, 2005/12/19
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Michael Heinrich, 2005/12/19
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Michael Heinrich, 2005/12/19
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Jim Ottaway, 2005/12/19
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Michael Heinrich, 2005/12/20
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Jim Ottaway, 2005/12/20
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Michael Heinrich, 2005/12/20
- Re: [emacs-wiki-discuss] Error on task creation since planner patch-136, Jim Ottaway, 2005/12/20