[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] bug#16832: Emacs goes crazy when deleting lines
From: |
Nicolas Goaziou |
Subject: |
Re: [O] bug#16832: Emacs goes crazy when deleting lines |
Date: |
Sat, 15 Mar 2014 17:17:26 +0100 |
Hello,
Eli Zaretskii <address@hidden> 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)
> (save-excursion
> (goto-char (match-beginning 0))
> (when (looking-at org-babel-inline-lob-one-liner-regexp)
> (throw 'exit (cons 'inline-babel-call (point)))))))))
This one is an updated function, which doesn't match posted report.
I expect it to be faster than the previous implementation. It would be
nice to have a new profiler report, though.
Regards,
--
Nicolas Goaziou