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

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

c++-mode hangs on indenting catch().


From: Mats Carlberg
Subject: c++-mode hangs on indenting catch().
Date: Tue, 8 Jan 2002 13:33:06 +0100 (MET)

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.1 (sparc-sun-solaris2.7, X toolkit)
 of Sat Jun 24 2000 on ryooki.lysator.liu.se
configured using `configure  --prefix=/sw/emacs-20.7'

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


I use c++-mode while writing code in LPC, which is C-like. Pike, which
is handled by CC-mode, idea-wise started of at LPC. The c++-mode works
pretty well for LPC, and I prefer c++-mode rather than pike-mode, since
I am addicted to the syntactic colouring.

The following line, which is valid LPC code, makes emacs use all CPU
while failing to indent this line, or any following lines:

catch(func());



Recent input:
return C-a C-k tab C-p C-p / / SPC D o e s n ' t SPC 
b u g SPC i n SPC c - m o d e . return C-x C-s escape 
x l p c backspace backspace backspace p i k e - m tab 
return C-n C-e return tab backspace backspace tab C-p 
C-p C-p C-p C-n C-a C-k C-k C-y C-y C-b C-b C-b C-b 
C-b C-b C-b backspace p i k e C-n C-a C-k C-x C-s escape 
< escape x c + + - m o d e return menu-bar help-menu 
report-emacs-bug

Recent messages:
Fontifying test.c...
Fontifying test.c... (regexps.................)
Wrote /home/matca/test.c
Mark set [2 times]
Wrote /home/matca/test.c
Mark set
Fontifying test.c...
Fontifying test.c... (regexps...................)
Loading emacsbug...
Loading emacsbug...done



reply via email to

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