GNU bug report logs - #16832
24.3.50; Emacs goes crazy when deleting lines

Previous Next

Packages: emacs, org-mode;

Reported by: "Fabrice Niessen" <fni-news <at> pirilampo.org>

Date: Fri, 21 Feb 2014 16:40:02 UTC

Severity: normal

Merged with 17040, 17055

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Goaziou <n.goaziou <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Fabrice Niessen <fni-news <at> pirilampo.org>, emacs-orgmode <at> gnu.org, 16832 <at> debbugs.gnu.org
Subject: bug#16832: Emacs goes crazy when deleting lines
Date: Sat, 15 Mar 2014 17:17:26 +0100
Hello,

Eli Zaretskii <eliz <at> 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)
> 	(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




This bug report was last modified 11 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.