Re: Re: planner task syntax
Jim Ottaway <[email protected]>
| Newsgroups | gmane.emacs.wiki.general |
|---|---|
| Message-ID | <[email protected]> |
>>>>> Torsten Anders <[email protected]> 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