GNU bug report logs - #14999
24.3.50; cc-mode; indent line fails with wrong-type-argument stringp nil

Previous Next

Packages: emacs, cc-mode;

Reported by: Darren Hoo <darren.hoo <at> gmail.com>

Date: Thu, 1 Aug 2013 15:42:02 UTC

Severity: normal

Tags: notabug

Found in version 24.3.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14999 in the body.
You can then email your comments to 14999 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#14999; Package emacs. (Thu, 01 Aug 2013 15:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Darren Hoo <darren.hoo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 01 Aug 2013 15:42:02 GMT) Full text and rfc822 format available.

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

From: Darren Hoo <darren.hoo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; cc-mode;
 indent line fails with wrong-type-argument stringp nil
Date: Thu, 1 Aug 2013 23:40:53 +0800
start with emacs -Q  (bzr version : revno: 113634)

Open a simple C file:

1  void main(){
2  int a;
3  }

put the point on line 2 and press TAB brings this backtrace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  looking-at(nil)
  c-after-conditional()
  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 2087357 nil]()
  c-indent-command(nil)
  c-indent-line-or-region(nil nil)
  call-interactively(c-indent-line-or-region nil nil)
  command-execute(c-indent-line-or-region)




Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#14999; Package emacs,cc-mode. (Thu, 01 Aug 2013 17:37:02 GMT) Full text and rfc822 format available.

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

From: Darren Hoo <darren.hoo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: 14999-done <at> debbugs.gnu.org
Subject: Re: bug#14999: 24.3.50; cc-mode;
 indent line fails with wrong-type-argument stringp nil
Date: Fri, 02 Aug 2013 01:35:50 +0800
After going through the Changelog, this is due to the new added
c-block-stmt-1-2-key, make bootstrap solves the problem.

sorry for the noise.






Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Aug 2013 01:42:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 14999 <at> debbugs.gnu.org and Darren Hoo <darren.hoo <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Aug 2013 01:42:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Aug 2013 11:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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