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

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

Re: [emacs-wiki-discuss] Re: planner task syntax


From: Jim Ottaway
Subject: Re: [emacs-wiki-discuss] Re: planner task syntax
Date: Fri, 07 Apr 2006 17:05:29 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>>>> Torsten Anders <address@hidden> writes:

> Dear Jim,
> Thank you very much! Your comments helped a lot. I meanwhile have
> something like spreadsheet functionality in my planner pages: I have
> some sums of the project and its sub-project durations printed on some
> page and automatically updated when I edit tasks (e.g. have something
> completed).

That sounds interesting.

> On 06.04.2006, at 21:33, Jim Ottaway wrote:
>> I think that planner-find-file would be suitable

> That does what I need. I still need to get my head around dynamic
> scope..

Yes, one does have to get used to that, but it can be very handy
sometimes. I can't see where dynamic scope is involved in your
function, though.

>> You might also want to wrap the body of this [or the loop that uses
>> this function] with `with-planner-update-setup' so that newly opened
>> files are cleaned up.

> I didn't quite understand the purpose of this macro. In my case, it
> has the effect, that planner-find-file does not result in the found
> file being opened in the buffer?

It closes any buffers visiting planner files that were not open before
the body was evaluated, if you see what I mean.  This stops Emacs
getting cluttered with planner pages.

Actually, it only does so if the user option
`planner-tasks-file-behavior' is set to something non-nil.


-- 
Jim Ottaway




reply via email to

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