[Top][All Lists]

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

[Orgmode] Agenda is slow because of vc-mode

From: Daniel Clemente
Subject: [Orgmode] Agenda is slow because of vc-mode
Date: Mon, 7 Jun 2010 14:25:07 +0200


  I have a shell script which exports my agenda to a file. It's pretty
slow: about 90 seconds. There are many files (200 .org files, 76k
lines, 3'6 Mb, 1600 open tasks) but the performance should be better.
  I found a way to bring it down to 11 seconds: temporarily disable
the version control tools I'm using (bazaar, git). To test, just
change their names so that Emacs can't run them.

  Since this slowness is caused by vc-mode, I wonder if it's possible
for Org to open the agenda files without enabling vc-mode, for vc-mode
is not necessary for org-mode.
  I fear not, because org-agenda-get-day-entries uses
org-get-agenda-file-buffer to open a buffer normally, and this buffer
should be fully functional for later usage.

  As a hack, I used (defun vc-find-file-hook () nil) in my script;
this does the trick.



reply via email to

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