[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Logbook drawer entries make editing very slow
From: |
Bastien |
Subject: |
Re: [O] Logbook drawer entries make editing very slow |
Date: |
Thu, 18 Apr 2013 12:56:50 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi Marcel,
Marcel van der Boom <address@hidden> writes:
> I'm using habit-style items a lot in my 'org' routine. A typical entry
> would look like this:
>
> #+BEGIN_SRC org
> *** TODO Do something daily
>
> SCHEDULED: <2013-02-20 wo .+1d>
> :LOGBOOK:
> - State "DONE" from "TODO" [2013-02-19 di 14:01]
> - State "DONE" from "TODO" [2013-02-17 zo 12:39]
> ...
> [lots of entries here]
> ...
> - State "DONE" from "TODO" [2010-02-25 Thu 13:51]
> - State "DONE" from "TODO" [2010-02-10 Wed 15:19]
> :END:
> :PROPERTIES:
> :STYLE: habit
> :LAST_REPEAT: [2013-02-19 di 14:01]
> :CREATED: <2011-03-25 vr 12:33>
> :END:
> ...Some description...
> #+END
>
> I have all habits in a file habits.org which is part of the
> 'org-agenda-files' list.
>
> When editing entries in the habits.org file, for example changing the
> header, emacs CPU using goes to 100% and every keystroke takes 5-10
> seconds.
(org-at-item-p) can be very expensive, because it calls
(org-list-in-valid-context-p) which is also expensive and
clearly not optimized for every list movements.
I found out that the use is still acceptable for 1000-2000
list items, so I won't fix this right now, but something to
keep under the radar, yes.
In the meantime, cleaning out the logs sometimes is the only
suggestion I can make.
Thanks for reporting this,
--
Bastien
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Logbook drawer entries make editing very slow,
Bastien <=