emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cc-mode errors in `c-guess-basic-syntax'


From: David Hansen
Subject: cc-mode errors in `c-guess-basic-syntax'
Date: Sun, 30 Jul 2006 11:53:58 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The buffer contains:

,----
| #define FOO()                                   \
|     do {                                        \
|         bar ();                                 \
|         baz ()
| }
`----

when i move the cursor after the closing brace '}' and hit
RET twice i get:

,----
| Debugger entered--Lisp error: (wrong-type-argument listp 58)
|   c-guess-basic-syntax()
|   c-indent-line()
|   indent-according-to-mode()
|   reindent-then-newline-and-indent()
|   call-interactively(reindent-then-newline-and-indent)
`----

David

If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/dhansen/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.8.18)
 of 2006-07-29 on robotron
X server distributor `The X.Org Foundation', version 11.0.70000000
configured using `configure '--with-x-toolkit=gtk' '--disable-sound' 
'--disable-pop' '--prefix=/home/dhansen''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
  erc-list-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-netsplit-mode: t
  erc-spelling-mode: t
  erc-truncate-mode: t
  flyspell-mode: t
  shell-dirtrack-mode: t
  erc-button-mode: t
  erc-services-mode: t
  erc-match-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-autojoin-mode: t
  erc-smiley-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  erc-scrolltobottom-mode: t
  iswitchb-mode: t
  show-paren-mode: t
  jabber-activity-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
SPC ( C-e C-n C-n <return> <backspace> C-p C-e <tab> 
C-p C-e \ <tab> C-n <tab> C-p C-b C-b C-b C-b ; C-n 
<tab> C-n <tab> <return> <return> q <return> q <backspace> 
<backspace> <return> q <return> q C-x C-s C-x C-v <return> 
C-n C-n C-n C-n C-e <return> <return> C-x C-g q <backspace> 
<backspace> C-x C-s M-< M-> <backspace> <backspace> 
<backspace> <backspace> <backspace> C-x C-s C-x C-v 
<return> C-n C-n C-n C-n C-e <return> <return> q <backspace> 
<backspace> <return> <return> q <backspace> <backspace> 
C-x C-s M-x r e p o r <tab> e m a <tab> b u <tab> 
<return>

Recent messages:
Wrote /home/dhansen/tmp/tst.c
Mark set [2 times]
Wrote /home/dhansen/tmp/tst.c
Fontifying tst.c... (regexps........................)
Entering debugger...
Back to top level.
Entering debugger...
Back to top level.
Wrote /home/dhansen/tmp/tst.c
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]