From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: C mode fontification took 50 seconds Date: Sat, 28 Apr 2007 14:35:30 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177785503 14917 80.91.229.12 (28 Apr 2007 18:38:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Apr 2007 18:38:23 +0000 (UTC) To: emacs-devel@gnu.org, bug-cc-mode@gnu.org Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Sat Apr 28 20:38:21 2007 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by lo.gmane.org with esmtp (Exim 4.50) id 1HhroL-0001b1-G6 for sf-cc-mode-help@m.gmane.org; Sat, 28 Apr 2007 20:38:21 +0200 Original-Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id B496912699; Sat, 28 Apr 2007 11:38:20 -0700 (PDT) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HhroJ-0001Gp-Du for cc-mode-help@lists.sourceforge.net; Sat, 28 Apr 2007 11:38:19 -0700 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HhroH-0001ma-M3 for cc-mode-help@lists.sourceforge.net; Sat, 28 Apr 2007 11:38:19 -0700 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Hhrla-0001VV-KF; Sat, 28 Apr 2007 14:35:30 -0400 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: cc-mode-help-bounces@lists.sourceforge.net Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:4503 gmane.emacs.devel:70335 Archived-At: Using the latest version of Emacs 22 files, in a 48-line Linux console, I visited the file xdisp.c and typed C-u 23402 C-n. Then I typed C-v and waited. After it had gone on for 30 seconds, I stopped the process and looked at it with GDB. xbacktrace gives c-syntactic-skip-backward, c-in-knr-argdecl, c-beginning-of-decl-1, further up c-beginning-of-defun, further up, c-parse-state, c-font-lock-complex-decl-prepare. This was called from font-lock-fontify-keywords-region. It looks like c-in-knr-argdecl has the infinite loop. After I continued, it eventually finished, but yuck! This is reproducible. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/