From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: M-RET slow Date: Fri, 26 Apr 2013 16:50:41 +0200 Message-ID: <87a9ol73cu.fsf@gmail.com> References: <87fvyd7q3m.fsf@bzg.ath.cx> <87ip3974uj.fsf@gmail.com> <877gjpbbgx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVjz4-0003IJ-A1 for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 10:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVjz2-0000Uz-Ek for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 10:50:46 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:45411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVjz1-0000Up-Pu for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 10:50:44 -0400 Received: by mail-wi0-f179.google.com with SMTP id l13so712166wie.12 for ; Fri, 26 Apr 2013 07:50:42 -0700 (PDT) In-Reply-To: <877gjpbbgx.fsf@bzg.ath.cx> (Bastien's message of "Fri, 26 Apr 2013 16:41:50 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org, Carsten Dominik Hello, Bastien writes: > Carsten Dominik 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". Regards, -- Nicolas Goaziou