Hi Planner-Users,

anybody else using Planner/Muse-mode on a Windows machine with a large
number of plan-files? I'm using six project-pages and around 600
day-files (daily pages reaching back until 2005). OK, I should start
archiving, but let's forget that for a moment.

Now, under Windows, saving my daily planner page takes ~ 30 seconds,
no matter how minor my changes were. That makes keeping the flow hard.

On my Linux machine at home, the same action takes ~ 3 seconds.

That huge difference made me fire up the profile and investigate:

1. Windows and Linux seem to be treated differently by Muse. If I'm
not mistaken, under Windows all plan-files are always re-read from
disk no matter what.

2. Just raising a Task priority on my day-page, then saving it results
in > 34000 calls to "file-directory-p" on Windows. This function alone
taking up 23 of the total 30 seconds of saving-time.

For the fun of it I set "muse-under-windows-p" to nil on my Windows
(XP) machine. As expected: Instant speedup! :) Now the question
remains: How save it this??

Debugging function "muse-project-file-alist" suggested Muse is using
the last-modification attributes now, which *looked like* it works
under Windows. But alas, I'm not savvy enough in Elisp to be sure.

I'm wondering if those 34000 calls to "file-directory-p" are really necessary?

Thanks,
Claus

_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss

Reply via email to