Nicolas Goaziou wrote:
Eli Zaretskii e...@gnu.org writes:
Thanks. So this looks like a problem with Org Mode. In particular,
org-element-inline-babel-call-successor takes a lot of time in this
case. That function traverses the buffer from top to bottom:
(while (search-forward call_
I thought at using the profiler of Emacs 24, and it gives meaningful
results. Good news #2.
Here they are:
--8---cut here---start-8---
- flyspell-post-command-hook 3271 98%
Does this report only cover a single command
Stefan wrote:
I thought at using the profiler of Emacs 24, and it gives meaningful
results. Good news #2.
Here they are:
--8---cut here---start-8---
- flyspell-post-command-hook 3271 98%
Does this report only cover a
So, it only covers a single command (C-k).
Sorry, forget my question: I had forgotten to turn my brain on, somehow
(seems to happen too often lately).
These numbers aren't call counts, they're just numbers of samples, so
there's no evidence that flyspell-post-command-hook was run very many
From: Fabrice Niessen fni-n...@pirilampo.org
Cc: 16...@debbugs.gnu.org, emacs-orgmode emacs-orgmode@gnu.org
Date: Fri, 14 Mar 2014 17:00:54 +0100
I realized that Emacs did not into an infloop, but simply gave me back
control after a very long time (more than 2 mins). Good news #1.
I
Hello,
Eli Zaretskii e...@gnu.org writes:
Thanks. So this looks like a problem with Org Mode. In particular,
org-element-inline-babel-call-successor takes a lot of time in this
case. That function traverses the buffer from top to bottom:
(while (search-forward call_ nil t)
From: Nicolas Goaziou n.goaz...@gmail.com
Cc: Fabrice Niessen fni-n...@pirilampo.org, emacs-orgmode@gnu.org,
16...@debbugs.gnu.org
Date: Sat, 15 Mar 2014 17:17:26 +0100
(while (search-forward call_ nil t)
(save-excursion
(goto-char (match-beginning 0))
(when
Eli Zaretskii e...@gnu.org writes:
Do you happen to know, or can measure, how much faster is the latest
version? Given the timing provided by the OP, it'd have to be at
least 100 times faster, to avoid annoying delays after each command.
Basically it is,
(search-forward call_)
versus
Eli Zaretskii wrote:
From: Fabrice Niessen fni-n...@pirilampo.org
Cc: 16...@debbugs.gnu.org
Date: Wed, 26 Feb 2014 20:42:20 +0100
Eli Zaretskii wrote:
From: Fabrice Niessen fni-n...@pirilampo.org
Cc: 16...@debbugs.gnu.org
Date: Wed, 26 Feb 2014 12:06:24 +0100
Then try F12 (if you