emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Scaling org-mode


From: Dave Täht
Subject: Re: [Orgmode] Re: Scaling org-mode
Date: Sun, 13 Sep 2009 12:58:28 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

address@hidden (Dave Täht) writes:

> Matt Lundin <address@hidden> writes:
>
>> address@hidden (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 via email to

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