emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-agenda-do-date-late and emacs freeze
Date: Tue, 25 Mar 2014 13:37:19 -0500	[thread overview]
Message-ID: <87txam15wg.fsf@fastmail.fm> (raw)
In-Reply-To: <8761n7nzvj.fsf@fastmail.fm> (Matt Lundin's message of "Fri, 21 Mar 2014 13:57:36 -0500")

Hi Bastien,

Matt Lundin <mdl@imapmail.org> writes:

> Bastien <bzg@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	other threads:[~2014-03-25 18:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 12:38 org-agenda-do-date-late and emacs freeze Igor Sosa Mayor
2014-02-18 13:09 ` Nick Dokos
2014-02-18 14:00   ` Igor Sosa Mayor
2014-02-18 14:29   ` Igor Sosa Mayor
2014-03-01  8:39     ` Bastien
2014-03-03  4:21 ` Matt Lundin
2014-03-03  4:25   ` Matt Lundin
2014-03-17  2:07     ` Bastien
2014-03-17  9:03       ` Igor Sosa Mayor
2014-03-20 16:08     ` Bastien
2014-03-21 18:57       ` Matt Lundin
2014-03-25 18:37         ` Matt Lundin [this message]
2014-03-25 20:59           ` Bastien
2014-03-28 13:40       ` Igor Sosa Mayor
2014-03-03 14:51   ` Igor Sosa Mayor

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=87txam15wg.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=bzg@gnu.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).