Hello, Bastien <b...@gnu.org> writes:
> Hi Samuel, > > Samuel Wales <samolog...@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