emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] M-RET slow


From: Bastien
Subject: Re: [O] M-RET slow
Date: Fri, 26 Apr 2013 17:20:43 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Nicolas,

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Bastien <address@hidden> writes:
>
>> Carsten Dominik <address@hidden> writes:
>>
>>> is org-in-item-p slow?
>>
>> It depends on the size of the list -- see for example this problem,
>> where moving an item within a logbook drawer with many items is too
>> slow:
>>
>> http://thread.gmane.org/gmane.emacs.orgmode/66574
>
> This is a different issue. `org-move-item-down' doesn't use
> `org-in-item-p'. The bottleneck here is, without surprise,
> `org-list-struct', as explained in the comments at the beginning of
> "org-list.el".

I see.  `org-at-item-p' is less expensive than `org-in-item-p' but 
still very expensive as it calls `org-list-in-valid-context-p'.

-- 
 Bastien



reply via email to

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