Invalid type argument: number-or-marker-p

What Emacs is complaining about. This error happens to me every once in a while, but I'm new to the Emacs world and not so expert in C. Now emacs stops me there and doesn’t even let me open the brackets to save the encoding? What does this error mean?

emacs error

EDIT : My version of Emacs:

emacs version

My debug info:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p (1953 . 3706))
  c-looking-at-inexpr-block((1953 . 3706) (1953 . 3706))
  c-inside-bracelist-p(3742 ((1953 . 3706) (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 9156 (9046 . 9137) 3742 (1953 . 3706) 9156 (9046 . 9137) 3742 (1953 . 3706) 9156 (9046 . 9137) 3742 (1953 . 3706) 9156 (9046 . 9137) 3742 (1953 . 3706) 9156 (9046 . 9137) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) 3742 (1953 . 3706) ...))
  c-guess-basic-syntax()
  c-indent-line()
  indent-according-to-mode()
  c-electric-continued-statement()
  abbrev-insert(while #("while" 0 5 (fontified t face font-lock-keyword-face)) 9785 9790)
  #[0 "\304 \211@A\211@A\211@A\211@A\n\211\205Q\305`\306\"\305\306\"\2042\307\310 !\2042\311 \210\312   $V\203O`U\203Ob\210\266\202\266\204\207" [noninteractive last-abbrev-text last-abbrev last-abbrev-location abbrev--before-point copy-marker t window-minibuffer-p selected-window undo-boundary abbrev-insert] 20 "\n\n(fn)"]()
  apply(#[0 "\304 \211@A\211@A\211@A\211@A\n\211\205Q\305`\306\"\305\306\"\2042\307\310 !\2042\311 \210\312 $V\203O`U\203Ob\210\266\202\266\204\207" [noninteractive last-abbrev-text last-abbrev last-abbrev-location abbrev--before-point copy-marker t window-minibuffer-p selected-window undo-boundary abbrev-insert] 20 "\n\n(fn)"] nil)
  #[771 ":\2030@\301=\203\300@\302A\"\303#\207\304@\305\306\307\310\311\312\300!\313\"\314\315%A##\207\304\316\"\207" [(#0) t append nil apply apply-partially make-byte-code 642 "\300@#\207" vconcat vector [] 7 "\n\n(fn FUNS GLOBAL &rest ARGS)" #[0 "\304 \211@A\211@A\211@A\211@A\n\211\205Q\305`\306\"\305\306\"\2042\307\310 !\2042\311 \210\312    $V\203O`U\203Ob\210\266\202\266\204\207" [noninteractive last-abbrev-text last-abbrev last-abbrev-location abbrev--before-point copy-marker t window-minibuffer-p selected-window undo-boundary abbrev-insert] 20 "\n\n(fn)"]] 12 "\n\n(fn FUNS GLOBAL ARGS)"](nil nil nil)
  expand-abbrev()
  self-insert-command(1)
  c-electric-paren(nil)
  call-interactively(c-electric-paren nil nil)
+4
source share
1 answer

You can use the Lisp debugger to know more precisely what is going on.

  • Download the source files (not byte-compiled) (which defines ) and (which defines , and ). cc-cmds.elc-indent-line cc-engine.elc-guess-basic-syntaxc-inside-bracelist-pc-looking-at-inexpr-block

    ( M-x load-library cc-cmds.el M-x load-library cc-engine.el - .el.)

  • (C-x 5 f) , . , , .

  • M-x debug-on-entry c-indent-line.

    d . c, , .

M-x debug-on-entry c-looking-at-inexpr-block .., , , . , c d, , . IOW, , , , , ( d).

+3

All Articles