From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: cc-mode hangs when indenting (malformed) C++ catch block. Date: Tue, 21 Jun 2005 10:08:24 +0200 Message-ID: <42B7CAF8.1050606@iar.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1119345204 27472 80.91.229.2 (21 Jun 2005 09:13:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2005 09:13:24 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 21 11:13:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dkeo3-00079w-DR for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2005 11:12:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkeuR-0001qh-Lg for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2005 05:19:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dke8Q-0001Im-Us for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2005 04:29:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dke8K-0001Hh-20 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2005 04:29:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dke77-0000rB-Ny for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2005 04:28:09 -0400 Original-Received: from [213.136.49.49] (helo=mta2.iar.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dkdqx-0003lb-RO for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2005 04:11:28 -0400 Original-Received: from localhost (localhost.iar.se [127.0.0.1]) by mta2.iar.se (Postfix) with ESMTP id 80428A10AF for ; Tue, 21 Jun 2005 10:08:32 +0200 (CEST) Original-Received: from mta2.iar.se ([127.0.0.1]) by localhost (mta2.iar.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00815-04 for ; Tue, 21 Jun 2005 10:08:24 +0200 (CEST) Original-Received: from pjakkur.iar.se (pjakkur.iar.se [192.9.201.1]) by mta2.iar.se (Postfix) with ESMTP for ; Tue, 21 Jun 2005 10:08:24 +0200 (CEST) Original-Received: from [127.0.0.1] ([10.200.20.170]) by pjakkur.iar.se (8.8.8/8.8.8) with ESMTP id KAA18030 for ; Tue, 21 Jun 2005 10:08:24 +0200 (MEST) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12288 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:12288 Hi! The following (malformed) C++ makes cc-mode hang -- you can't even display syntactic information. void test() { catch() { f1(); } /* Hangs on this line... */ } Regards, Anders Lindgren (Emacs old-timer and contributor) In GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600) of 2003-03-28 on buffy configured using `configure --with-msvc (12.00)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: SVE locale-coding-system: iso-latin-1 default-enable-multibyte-characters: nil