emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: M-RET slow
Date: Fri, 26 Apr 2013 16:18:28 +0200	[thread overview]
Message-ID: <87ip3974uj.fsf@gmail.com> (raw)
In-Reply-To: <87fvyd7q3m.fsf@bzg.ath.cx> (Bastien's message of "Fri, 26 Apr 2013 08:39:25 +0200")

Hello,

Bastien <bzg@gnu.org> writes:

> Hi Samuel,
>
> Samuel Wales <samologist@gmail.com> 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?


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-04-26 14:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 19:01 Samuel Wales
2013-04-26  6:39 ` Bastien
2013-04-26 14:18   ` Nicolas Goaziou [this message]
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
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=87ip3974uj.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: M-RET slow' \
    /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

Code repositories for project(s) associated with this 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).