unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kentaro NAKAZAWA <kentaro.nakazawa@nifty.com>
To: Alan Mackenzie <acm@muc.de>
Cc: bug-cc-mode@gnu.org, Kan-Ru Chen <kanru@kanru.info>, emacs-devel@gnu.org
Subject: Re: Slow fontification in C mode buffers
Date: Tue, 07 Feb 2012 01:14:22 +0900	[thread overview]
Message-ID: <87k440hrc1.fsf@nifty.com> (raw)
In-Reply-To: 20120120172611.GA3179@acm.acm

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

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 <acm@muc.de> 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

[-- Attachment #2: test.cc --]
[-- Type: text/plain, Size: 1547 bytes --]

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)
{
}

  reply	other threads:[~2012-02-06 16:14 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-03 13:19 Slow fontification in C mode buffers Eli Zaretskii
2011-12-03 15:03 ` Sujith
2011-12-03 15:14   ` Eli Zaretskii
2011-12-03 15:32     ` Sujith
2011-12-03 15:18 ` Alan Mackenzie
2011-12-03 16:19   ` Eli Zaretskii
2011-12-13 15:31   ` Kan-Ru Chen
2011-12-14 11:19     ` Alan Mackenzie
2011-12-14 11:30     ` Alan Mackenzie
2011-12-14 12:23       ` Alan Mackenzie
2011-12-14 13:14     ` Alan Mackenzie
2011-12-14 15:02       ` Kan-Ru Chen
2011-12-15 13:43     ` Alan Mackenzie
2011-12-15 16:16       ` Kan-Ru Chen
2011-12-15 18:12         ` Alan Mackenzie
2011-12-16  2:32           ` Kan-Ru Chen
2011-12-16 11:26             ` Alan Mackenzie
2011-12-17 16:06               ` Kan-Ru Chen
2011-12-21 10:56                 ` Alan Mackenzie
2011-12-21 13:33                   ` Geoff Gole
2011-12-21 16:04                     ` Alan Mackenzie
2011-12-21 16:48                       ` Geoff Gole
2011-12-21 18:06                         ` Alan Mackenzie
2011-12-21 18:16                     ` Eli Zaretskii
2011-12-21 18:32                       ` Geoff Gole
2011-12-21 19:35                         ` Eli Zaretskii
2011-12-23  1:56                     ` Kentaro NAKAZAWA
2011-12-23 12:03                       ` Alan Mackenzie
2012-01-06 22:08                       ` Alan Mackenzie
2012-01-07  0:09                         ` Kentaro NAKAZAWA
2012-01-07 13:50                           ` Alan Mackenzie
2012-01-08  1:26                             ` Kentaro NAKAZAWA
2012-01-08 10:05                               ` Alan Mackenzie
2012-01-20 17:26                               ` Alan Mackenzie
2012-02-06 16:14                                 ` Kentaro NAKAZAWA [this message]
2011-12-22 16:06                   ` Kan-Ru Chen
2012-01-13 19:12                 ` Alan Mackenzie
2012-01-14  9:12                   ` Kan-Ru Chen
2012-01-15 21:12                 ` Alan Mackenzie
2012-01-22  4:20                   ` Kan-Ru Chen
2011-12-03 21:15 ` Alan Mackenzie
2011-12-04  6:00   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k440hrc1.fsf@nifty.com \
    --to=kentaro.nakazawa@nifty.com \
    --cc=acm@muc.de \
    --cc=bug-cc-mode@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kanru@kanru.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).