Thank you very much for the tip, Claus. I just started to use planner on 
my notebook yesterday, after having used it on my Linux boxes for 
several years. I met exactly the same problem (30sec for saving my day 
page), and almost gave up planner on Windows and shifted to org. I 
followed Claus's suggestion (setq muse-under-windows-p nil) and now 
saving my day page only costs 1 sec.

I guess it's a muse issue instead of a planner issue. I just would like 
to suggest putting Claus's tip into the FAQ, or let planner locally set 
muse-under-windows-p to nil by default under planner-mode.

Thanks, 

Jing


Claus wrote:
> 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
>   


-- 
***********************************************************
Jing Su
Graduate Assistant
The Wallace H. Coulter Department of Biomedical Engineering
Georgia Tech & Emory University
Email: [EMAIL PROTECTED] Office: 404-385-2372



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

Reply via email to