From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kentaro NAKAZAWA Newsgroups: gmane.emacs.devel Subject: Re: Slow fontification in C mode buffers Date: Tue, 07 Feb 2012 01:14:22 +0900 Message-ID: <87k440hrc1.fsf@nifty.com> References: <87ty51i6vf.fsf@isil.kanru.info> <20111216112617.GA3445@acm.acm> <87pqfngp3r.fsf@isil.kanru.info> <20111221105626.GA3263@acm.acm> <87ehvwxd8g.fsf@nifty.com> <20120106220806.GA3217@acm.acm> <87r4zcjrvm.fsf@nifty.com> <20120107135017.GA15873@acm.acm> <87lipjf0i5.fsf@nifty.com> <20120120172611.GA3179@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1328546941 19663 80.91.229.3 (6 Feb 2012 16:49:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 16:49:01 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Kan-Ru Chen , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 06 17:48:56 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RuRkL-0006UE-Pa for ged-emacs-devel@m.gmane.org; Mon, 06 Feb 2012 17:48:54 +0100 Original-Received: from localhost ([::1]:51644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuRkL-0005Z2-7B for ged-emacs-devel@m.gmane.org; Mon, 06 Feb 2012 11:48:53 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuRDO-0002pn-Di for emacs-devel@gnu.org; Mon, 06 Feb 2012 11:14:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuRDI-0008Ar-Ea for emacs-devel@gnu.org; Mon, 06 Feb 2012 11:14:50 -0500 Original-Received: from userg506.nifty.com ([202.248.238.86]:7172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuRDB-00087U-RT; Mon, 06 Feb 2012 11:14:38 -0500 Original-Received: from localhost.localdomain (eatkyo565213.adsl.ppp.infoweb.ne.jp [222.159.219.213])by userg506.nifty.com with ESMTP id q16GEMHL024354; Tue, 7 Feb 2012 01:14:23 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=mar2011msa; t=1328544863; bh=Z9WSjd2Wfug5wAMsdzom8QpMblO2QneEbH59b/6CkMg=; h=From:To:Cc:Subject:References:Date:Message-ID:MIME-Version: Content-Type; b=dLVdACHYfndvgyQDZgtq7q9+goKwcouzBZI8uWp2lukZsxF4a2eHq1h0EPRQU16h0 q2WHLtcJ/27RIiPDlUbv5lzupxVPLe4XlHUY2vs8j/NDxmcWWDoWNbvnxLVQsHoogQ 9dVzNfIRbZpEkbIQ5VfbwFhML47gBSZaOksDm9tE= X-Nifty-SrcIP: [222.159.219.213] User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 202.248.238.86 X-Mailman-Approved-At: Mon, 06 Feb 2012 11:48:51 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148270 Archived-At: --=-=-= Content-Type: text/plain Hello, Alan. Thank you for the modified. I try pretest 24.0.93 at my job on Windows7. (ftp://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-24.0.93-bin-i386.zip) Unfortunately it is still slow... But very comfortable on linux (x11 and console). NTEmacs's font-lock is very very slow(?) I attached other slow pattern. it is a bit slow on linux, but is terribly slow on windows7. Alan Mackenzie writes: > Hello, Kentaro. > > On Sun, Jan 08, 2012 at 10:26:10AM +0900, Kentaro NAKAZAWA wrote: >> Hello, Alan. > >> > Could you be more specific, please - tell me which keywords weren't >> > fontified, and exactly what you did for this to happen. > >> The screen shot was appended. (emacs -Q) > > OK, I got that. > >> action.cc.png: >> http://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.0/gtkmm-3.0.1.tar.bz2 >> gtkmm-3.0.1/gtk/gtkmm/action.cc > >> The method name is not fontified. >> But I execute M-oM-o in function, fontified correctly. > > I don't see this problem, with the latest version of CC Mode (which has > been committed to savannah). Maybe recent changes have solved it. > > Could you please try again with the latest CC Mode version. Thanks! > >> -- >> Kentaro Nakazawa -- Kentaro Nakazawa --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=test.cc class Test { public: Test(); private: int m_test00; int m_test01; int m_test02; int m_test03; int m_test04; int m_test05; int m_test06; int m_test07; int m_test08; int m_test09; int m_test10; int m_test11; int m_test12; int m_test13; int m_test14; int m_test15; int m_test16; int m_test17; int m_test18; int m_test19; int m_test20; int m_test21; int m_test22; int m_test23; int m_test24; int m_test25; int m_test26; int m_test27; int m_test28; int m_test29; int m_test30; int m_test31; int m_test32; int m_test33; int m_test34; int m_test35; int m_test36; int m_test37; int m_test38; int m_test39; int m_test40; int m_test41; int m_test42; int m_test43; int m_test44; int m_test45; int m_test46; int m_test47; }; Test::Test() : m_test00(0), m_test01(0), m_test02(0), m_test03(0), m_test04(0), m_test05(0), m_test06(0), m_test07(0), m_test08(0), m_test09(0), m_test10(0), m_test11(0), m_test12(0), m_test13(0), m_test14(0), m_test15(0), m_test16(0), m_test17(0), m_test18(0), m_test19(0), m_test20(0), m_test21(0), m_test22(0), m_test23(0), m_test24(0), m_test25(0), m_test26(0), m_test27(0), m_test28(0), m_test29(0), m_test30(0), m_test31(0), m_test32(0), m_test33(0), m_test34(0), m_test35(0), m_test36(0), m_test37(0), m_test38(0), m_test39(0), m_test40(0), m_test41(0), m_test42(0), m_test43(0), m_test44(0), m_test45(0), m_test46(0), m_test47(0) { } --=-=-=--