From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: M-RET slow Date: Fri, 26 Apr 2013 08:39:25 +0200 Message-ID: <87fvyd7q3m.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVcRU-0002jm-Ug for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 02:47:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVcRU-0002Ii-5T for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 02:47:36 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:41200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVcRT-0002Id-Ro for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 02:47:36 -0400 Received: by mail-wi0-f180.google.com with SMTP id h11so224258wiv.13 for ; Thu, 25 Apr 2013 23:47:35 -0700 (PDT) In-Reply-To: (Samuel Wales's message of "Thu, 25 Apr 2013 12:01:54 -0700") 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: Samuel Wales Cc: emacs-orgmode@gnu.org 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. :) -- Bastien