[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: Jim Ottaway
Subject: Re: [emacs-wiki-discuss] Error on task creation since planner patch-136
Date: Mon, 19 Dec 2005 21:47:55 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>>>> Michael Heinrich <address@hidden> writes:
> Jim Ottaway <address@hidden> writes:

>> In the mean-time I think that it would be possible to work around this
>> by using after-advice to planner-create-task instead of a hook: remove
>> planner-sort-tasks-maybe from planner-create-task-hook and add
>> something like this:

>> (defadvice planner-create-task (after my-sort-stuff activate)
>> (planner-sort-tasks-maybe))

> I had to disable my advice for planner-sort-tasks-maybe.  But with

> ,----
> | (defadvice planner-create-task (after my-sort-stuff activate)
> |   (mh/trunk-by-project))
> `----

> it works.

I am glad that that works, but what have you done with
planner-sort-tasks-maybe?  Is that still in planner-create-task-hook
but without the planner-trunk advice? 


Jim Ottaway

reply via email to

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