emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Bastien <bzg@gnu.org>, emacs-orgmode@gnu.org
Subject: Re: M-RET slow
Date: Fri, 26 Apr 2013 16:33:14 +0200	[thread overview]
Message-ID: <EBC6F8E6-363E-4929-A6F1-8086ADCFC1A4@gmail.com> (raw)
In-Reply-To: <87ip3974uj.fsf@gmail.com>


On 26 apr. 2013, at 16:18, Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> 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?

Hi Nicolas,

is org-in-item-p slow?

- Carsten

  reply	other threads:[~2013-04-26 14:33 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
2013-04-26 14:33     ` Carsten Dominik [this message]
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=EBC6F8E6-363E-4929-A6F1-8086ADCFC1A4@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --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).