From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Toon Claes Newsgroups: gmane.emacs.bugs Subject: bug#10652: font-lock very slow for C++ Date: Wed, 14 Mar 2012 11:45:14 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_13b53bfbefc10b7e56aa409a1d3e1b0d" X-Trace: dough.gmane.org 1331741872 32537 80.91.229.3 (14 Mar 2012 16:17:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2012 16:17:52 +0000 (UTC) To: <10652@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 14 17:17:52 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S7qtb-0002jm-Ir for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Mar 2012 17:17:51 +0100 Original-Received: from localhost ([::1]:56468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7qta-0006FB-Tm for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Mar 2012 12:17:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7qsk-0005zM-F7 for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2012 12:17:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7qsI-0005W0-Bq for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2012 12:16:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7qro-0005RE-Hn; Wed, 14 Mar 2012 12:16:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S7rKs-0003OU-S4; Wed, 14 Mar 2012 12:46:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Toon Claes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Wed, 14 Mar 2012 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10652 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 10652-submit@debbugs.gnu.org id=B10652.133174355013014 (code B ref 10652); Wed, 14 Mar 2012 16:46:02 +0000 Original-Received: (at 10652) by debbugs.gnu.org; 14 Mar 2012 16:45:50 +0000 Original-Received: from localhost ([127.0.0.1]:50774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7rKe-0003Np-HP for submit@debbugs.gnu.org; Wed, 14 Mar 2012 12:45:50 -0400 Original-Received: from web1.futureweb.be ([77.243.237.194]:34511) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7lEi-0001xl-9d for 10652@debbugs.gnu.org; Wed, 14 Mar 2012 06:15:27 -0400 Original-Received: from localhost ([127.0.0.1] helo=tonotdo.com) by web1.futureweb.be with esmtpa (Exim 4.77) (envelope-from ) id 1S7kle-0003VV-2m for 10652@debbugs.gnu.org; Wed, 14 Mar 2012 10:45:14 +0100 X-Sender: toon@tonotdo.com User-Agent: Roundcube Webmail/0.7.1 X-Mailman-Approved-At: Wed, 14 Mar 2012 12:45:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Wed, 14 Mar 2012 12:17:47 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57788 Archived-At: --=_13b53bfbefc10b7e56aa409a1d3e1b0d Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 I'm also having trouble with some cpp files. I've got one file (572 lines, 18560 bytes), that always causes emacs 24 to hang. Emacs 23.3.1 handles this file just fine. I am using emacs from git: commit 6ba3ea4d2625fac8b5fb839f11eeb074d699687e Author: Christopher Schmidt Date: Mon Mar 12 01:31:44 2012 +0800 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error. When GDB was hanging I stopped the process with GDB, with this backtrace: http://pastebin.com/ssB96ue4 I'm not familiar with the emacs source code, but I do not know this is normal. If I can help investigation the problem more in detail, let me know. Unfortunately I am not allowed to share the source file with you. Also I've tried to decrease font-lock-maximum-decoration to 1, but this didn't have effect. --=_13b53bfbefc10b7e56aa409a1d3e1b0d Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

I'm also having trouble with some cpp files.

I've got one file (572 lines, 18560 bytes), that always causes emacs 24 = to hang. Emacs 23.3.1 handles this file just fine.

I am using emacs from git:

commit 6ba3ea4d2625fac8b5fb839f11eeb074d699687e
Author: Christopher= Schmidt <christopher@ch.ristopher.com>
Date:   Mon Ma= r 12 01:31:44 2012 +0800

    * ibuffer.el (ibuffe= r-redisplay): Remove gratuitous error.

 

When GDB was hanging I stopped the process with GDB, with this backtrace= :

http://pastebin.com/ssB96ue4

I'm not familiar with the emacs source code, but I do not know this is n= ormal.

If I can help investigation the problem more in detail, let me know.

Unfortunately I am not allowed to share the source file with you.

 

Also I've tried to decrease font-lock-maximum-decoration to= 1, but this didn't have effect.

 

 
--=_13b53bfbefc10b7e56aa409a1d3e1b0d--