GNU bug report logs - #13385
24.1; TAB in C file causes type error

Previous Next

Packages: cc-mode, emacs;

Reported by: Julian Stecklina <jsteckli <at> os.inf.tu-dresden.de>

Date: Tue, 8 Jan 2013 13:50:01 UTC

Severity: normal

Merged with 9957, 11749

Found in versions 24.0.90, 24.1

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: Julian Stecklina <jsteckli <at> os.inf.tu-dresden.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1; TAB in C file causes type error
Date: Tue, 08 Jan 2013 14:49:07 +0100
Hello,

While editing C files, I sometimes stumble upon the following error. I
cannot reliably reproduce its first occurence, but when it occurs it
will break indenting code until I kill the buffer and revisit the file.

I removed all cc-mode customization from my .emacs.el, but it doesn't
make a difference.

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p (51932 . 51982))
  c-looking-at-inexpr-block((51932 . 51982) (51932 . 51982))
  c-inside-bracelist-p(52112 ((51932 . 51982) 54476 (52112 . 54355) 54476 (52112 . 54355) 52112 (51932 . 51982) 52112 (51932 . 51982) 52112 (46073 . 46349) (51932 . 51982) 52112 (46073 . 46349) (51932 . 51982) 52112 (51932 . 51982) 52112 (51932 . 51982) 52112 (51932 . 51982) 52112 (51932 . 51982) 52112 (46073 . 46349) (51932 . 51982) 52112 (51932 . 51982) 52112 (46073 . 46349) (51932 . 51982) 52112 (51932 . 51982) 52112 (46073 . 46349) (51932 . 51982) 51213 51180 50702 (50307 . 50564)))
  c-guess-basic-syntax()
  c-indent-line()
  #[nil "\302\303 !\210\304>\203.^@\212\305 \210\306\307x\210\305 \210\310 )i\310 X\203'^@\311	!\202,^@\212\311	!))\207 \207" [indent-line-function column syntax-propertize line-end-position (indent-relative indent-relative-maybe) beginning-of-line "\n 	" nil current-indentation indent-line-to] 2 2125346 nil]()
  c-indent-command(nil)
  c-indent-line-or-region(nil nil)
  call-interactively(c-indent-line-or-region nil nil)





This bug report was last modified 12 years and 106 days ago.

Previous Next


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