From: Matt Lundin <mdl@imapmail.org>
To: "Dave Täht" <d@teklibre.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Scaling org-mode
Date: Sun, 13 Sep 2009 10:04:14 -0400 [thread overview]
Message-ID: <m2d45vdjq9.fsf@fastmail.fm> (raw)
In-Reply-To: <87my4zfleg.fsf@mahal.sjds.teklibre.org> ("Dave Täht"'s message of "Sat, 12 Sep 2009 23:45:11 -0600")
d@teklibre.org (Dave Täht) writes:
> I have really been enjoying importing my life into org-mode, which I've
> been doing for about two months now.
>
> But.
>
> It currently visits about 100 files and 10k of text to construct the
> agenda. It's starting to get kind of slow and interrupt my workflow,
> particularly the background process that scans them.
>
> While the system is effectively frozen, my message buffer fills up with
> messages about setting the flyspell dictionary to en, etc. This is quite
> annoying with text to speech turned on. I ended up just having appts
> spoken.
My guess is that this is a flyspell problem. I only get messages about
flyspell if I don't have aspell or the proper dictionary installed. Do
you get these messages when you open buffers in other text modes? What
exactly are the messages? What is your flyspell config?
> Solution #1) cut the number of files down - is a good one. I probably
> can cut those files easily in half right now. The problem is that I have
> about 600 more files to import (scenes from a book), and I really like
> the idea of being able to know what my characters are doing in 2023, and
> separate files was kind of useful at one point.
One recommendation would be to leave files that are purely notes out of
your agenda. I noticed from your blog posts that you are adding
timestamps to events from your novel. Are these active or inactive
timestamps? My guess is that parsing all that data is slowing org-mode
down. You can always create a timeline from within a particular file
without including it in your normal agenda files. You can also create
custom agenda views to work on different sets of org files.
http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php
While org-mode is exceptionally robust as a plain text tool, if you need
to manage an ever-growing collection of thousands and thousands of
pieces of data, you'll probably be better served by 1) using a database
or 2) dividing your org-mode files into separate "collections" (i.e.,
reserving your regular agenda for only a subset of org files).
I keep my org files lean by regularly archiving subtrees. I can always
search the archives when I need to.
> so thought 2) would be to have it only attempt to construct background
> agendas when the system is otherwise idle for a few minutes. I don't
> know how to do that, I figure wrapping this bit with something that
> could detect idleness instead of just running arbitrarily would be good.
>
> (run-at-time nil 3600 'org-agenda-to-appt)
>
> don't know how to detect idleness.
http://www.gnu.org/software/emacs/elisp/html_node/Idle-Timers.html
Best,
Matt
next prev parent reply other threads:[~2009-09-13 14:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-13 5:45 Scaling org-mode Dave Täht
2009-09-13 14:04 ` Matt Lundin [this message]
2009-09-13 17:25 ` Dave Täht
2009-09-13 18:58 ` Dave Täht
2009-09-13 16:52 ` Nick Dokos
2009-09-13 23:30 ` Productiviy tools (was: Scaling org-mode) Daniel Clemente
2009-09-14 0:21 ` Productiviy tools Dave Täht
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2d45vdjq9.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=d@teklibre.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).