From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: M-RET slow Date: Fri, 26 Apr 2013 16:33:14 +0200 Message-ID: References: <87fvyd7q3m.fsf@bzg.ath.cx> <87ip3974uj.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVjiA-0003Aw-9e for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 10:33:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVji9-0002al-4m for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 10:33:18 -0400 In-Reply-To: <87ip3974uj.fsf@gmail.com> 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: Nicolas Goaziou Cc: Bastien , emacs-orgmode@gnu.org On 26 apr. 2013, at 16:18, Nicolas Goaziou wrote: > Hello, > > Bastien writes: > >> Hi Samuel, >> >> Samuel Wales writes: >> >>> In recent git, M-RET takes a few seconds before it does anything. I >>> wonder what sophisticated calculation it is doing? :) >> >> You can debug the function >> >> C-h f org-insert-heading RET >> >> then jump on its definition and M-x edebug-defun RET at the end to >> follow what it does. >> >> A few seconds is not acceptable, unless you managed to install Emacs >> on a PDP-1. :) > > I pushed a speed-up for `org-insert-heading'. Is it speed acceptable > now? Hi Nicolas, is org-in-item-p slow? - Carsten