Hi Bastien,

Matt Lundin <m...@imapmail.org> writes:

> Bastien <b...@gnu.org> 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

Reply via email to