From: Bastien <bzg@altern.org>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: M-RET slow
Date: Fri, 26 Apr 2013 17:20:43 +0200 [thread overview]
Message-ID: <87k3nptj1w.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87a9ol73cu.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 26 Apr 2013 16:50:41 +0200")
Hi Nicolas,
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
> Bastien <bzg@altern.org> writes:
>
>> Carsten Dominik <carsten.dominik@gmail.com> 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
next prev parent reply other threads:[~2013-04-26 15:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-25 19:01 M-RET slow Samuel Wales
2013-04-26 6:39 ` Bastien
2013-04-26 14:18 ` Nicolas Goaziou
2013-04-26 14:33 ` Carsten Dominik
2013-04-26 14:41 ` Bastien
2013-04-26 14:50 ` Nicolas Goaziou
2013-04-26 15:20 ` Bastien [this message]
2013-04-26 15:24 ` Nicolas Goaziou
2013-04-26 14:46 ` Nicolas Goaziou
2013-04-26 14:51 ` Carsten Dominik
2013-04-26 14:57 ` Nicolas Goaziou
2013-04-26 15:26 ` Bastien
2013-04-27 17:43 ` Samuel Wales
2013-04-28 6:44 ` Bastien
2013-05-01 22:39 ` Samuel Wales
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=87k3nptj1w.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@gmail.com \
/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).