[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-agenda-do-date-late and emacs freeze
From: |
Matt Lundin |
Subject: |
Re: [O] org-agenda-do-date-late and emacs freeze |
Date: |
Tue, 25 Mar 2014 13:37:19 -0500 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux) |
Hi Bastien,
Matt Lundin <address@hidden> writes:
> Bastien <address@hidden> writes:
>
>> Hi Matt and all,
>>
>> thanks a lot for the detailed investigation -- I revisited the
>> related problems and applied a fix. Please let me know if you
>> encoutner some glitches.
>
> Seems to work fine now. Thanks!
The only minor issue with the fix is that move-beginning-of-line (lines
9195-6 of org-agenda.el) is slower than beginning-of-line. It's not so
bad when you push an item one day forward, but it creates significant
lag when calling org-agenda-do-date-late several times in a row.
--8<---------------cut here---------------start------------->8---
org-agenda-do-date-later 1 0.289220361 0.289220361
org-agenda-date-later 1 0.289163161 0.289163161
move-beginning-of-line 84 0.2790279490 0.0033217612
--8<---------------cut here---------------end--------------->8---
vs.
--8<---------------cut here---------------start------------->8---
org-agenda-do-date-later 1 0.010506186 0.010506186
org-agenda-date-later 1 0.01044766 0.01044766
beginning-of-line 93 0.001790849 1.925...e-05
--8<---------------cut here---------------end--------------->8---
Thanks,
Matt
Re: [O] org-agenda-do-date-late and emacs freeze, Igor Sosa Mayor, 2014/03/03