emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: d@teklibre.org (Dave Täht)
To: Matt Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Scaling org-mode
Date: Sun, 13 Sep 2009 12:58:28 -0600	[thread overview]
Message-ID: <871vmafz8r.fsf@mahal.sjds.teklibre.org> (raw)
In-Reply-To: <87ab0yg3kj.fsf@mahal.sjds.teklibre.org> ("Dave Täht"'s message of "Sun, 13 Sep 2009 11:25:00 -0600")

d@teklibre.org (Dave Täht) writes:

> Matt Lundin <mdl@imapmail.org> writes:
>
>> d@teklibre.org (Dave Täht) writes:
>
>>> 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
>
> Bueno. Writing that bit of code right now. Hmmm... Maybe I can tie this into erc
> which also has annoying blocking behavior on netsplits and lost connectivity.

First cut at making org more idle friendly.

It appears to be working... but I've been typing too much to really
notice. :)

See:

http://pastebin.com/dbb75ca

for details. I have not written much emacs lisp for years, so review
would be nice.

I changed it to actually try to reconstruct the agenda every 10 minutes
in this kinder, gentler fashion.

Still have a bit more to do but this takes out the main problem.


-- 
Dave Taht
http://the-edge.blogspot.com

  reply	other threads:[~2009-09-13 18:59 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
2009-09-13 17:25   ` Dave Täht
2009-09-13 18:58     ` Dave Täht [this message]
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=871vmafz8r.fsf@mahal.sjds.teklibre.org \
    --to=d@teklibre.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).