unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14999: 24.3.50; cc-mode; indent line fails with wrong-type-argument stringp nil
@ 2013-08-01 15:40 Darren Hoo
  2013-08-01 17:35 ` Darren Hoo
  0 siblings, 1 reply; 2+ messages in thread
From: Darren Hoo @ 2013-08-01 15:40 UTC (permalink / raw)
  To: 14999

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\b\304>\203.\212\305 \210\306\307x\210\305
\210\310 )\x19i\310 X\203'\311 !\202,\212\311 !))\207\b \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)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14999: 24.3.50; cc-mode; indent line fails with wrong-type-argument stringp nil
  2013-08-01 15:40 bug#14999: 24.3.50; cc-mode; indent line fails with wrong-type-argument stringp nil Darren Hoo
@ 2013-08-01 17:35 ` Darren Hoo
  0 siblings, 0 replies; 2+ messages in thread
From: Darren Hoo @ 2013-08-01 17:35 UTC (permalink / raw)
  To: 14999; +Cc: 14999-done

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.







^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-01 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01 15:40 bug#14999: 24.3.50; cc-mode; indent line fails with wrong-type-argument stringp nil Darren Hoo
2013-08-01 17:35 ` Darren Hoo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).