From: Daniel Clemente <n142857@gmail.com>
To: Org-mode Org-Mode <emacs-orgmode@gnu.org>
Subject: Agenda is slow because of vc-mode
Date: Mon, 7 Jun 2010 14:25:07 +0200 [thread overview]
Message-ID: <AANLkTilQeIxPEi2xsDZluGK1V3aBwT1FoRo3OGeZChQS@mail.gmail.com> (raw)
Hi.
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.
Greetings,
Daniel
next reply other threads:[~2010-06-07 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-07 12:25 Daniel Clemente [this message]
2010-06-18 16:19 ` Agenda is slow because of vc-mode David Maus
2010-06-18 19:16 ` Greg Troxel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTilQeIxPEi2xsDZluGK1V3aBwT1FoRo3OGeZChQS@mail.gmail.com \
--to=n142857@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.