GNU bug report logs - #10480
24.0.92; cc-mode breakage due to "Large brace-block initialisation makes CC Mode slow: Fix"

Previous Next

Packages: emacs, cc-mode;

Reported by: Alex <alex <at> bennee.com>

Date: Wed, 11 Jan 2012 17:05:02 UTC

Severity: important

Merged with 10463

Found in version 24.0.92

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alex <alex <at> bennee.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.92;
	cc-mode breakage due to "Large brace-block initialisation makes CC
	Mode slow: Fix"
Date: Wed, 11 Jan 2012 16:37:51 +0100
I'm currently tracking the Emacs BZR/GIT repo for the current bleeding
edge code. It seems it broke over Christmas. While editing C code I was
constantly hit with back traces like the following:

Debugger entered--Lisp error: (args-out-of-range 10389 15607)
  parse-partial-sexp(10389 15607)
  c-literal-limits(nil nil t)
  c-indent-new-comment-line(t)
  default-indent-new-line(t)
  do-auto-fill()
  apply(do-auto-fill nil)
  c-mask-paragraph(nil t do-auto-fill)
  c-do-auto-fill()
  self-insert-command(1)
  newline()
  newline-and-indent()
  call-interactively(newline-and-indent nil nil)

This often left emacs unusable, sometime wiping the current editing
buffer. Bisecting through the code tree I found it was the Large
brace-block fix that causes the regression. I'm afraid I can't provide
the code it broke on but was occurring all over the place so I don't
think it was anything special.

Regards,

Alex




This bug report was last modified 13 years and 190 days ago.

Previous Next


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