[EMAIL PROTECTED] (Kim F. Storm) writes: >> 3. All this is still awfully slow and expensive: Open a larger buffer >> like xdisp.c, jump to its end, hit M-v a couple of times, and look at >> CPU consumption. > > I can second that. Working on xdisp.c has become awfully slow lately. > We definitely need to fix this before the release!
I'm third. Could we set open-paren-in-column-0-is-defun-start to t for c mode? This gives the old behavior, which, though incorrect in corner cases, is at least usable. Individual users can set it back to nil if slow-but-correct fontification is desired (and it's irrelevant for anyone but Emacs hackers anyway). As for RMS's suggestion of writing a beginning-of-defun-function, I don't see any dramatic optimizations that we could employ to make that a solution for this (apart from, well, assuming that open parens in column zero are defun starts :-). _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
