From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: open large file with C code: is it realy should be so slow? Date: Tue, 06 Jan 2009 17:59:39 -0500 Message-ID: References: <87mye5kmm3.fsf@cyd.mit.edu> 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: ger.gmane.org 1231282873 11163 80.91.229.12 (6 Jan 2009 23:01:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2009 23:01:13 +0000 (UTC) Cc: bug-cc-mode@gnu.org, acm@muc.de, davemilter@gmail.com, emacs-devel@gnu.org To: Chong Yidong Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Wed Jan 07 00:02:23 2009 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by lo.gmane.org with esmtp (Exim 4.50) id 1LKKw7-0003mk-Ip for sf-cc-mode-help@m.gmane.org; Wed, 07 Jan 2009 00:02:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by 3yr0jf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1LKKur-0000A1-Sc; Tue, 06 Jan 2009 23:00:53 +0000 Original-Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by 3yr0jf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1LKKuq-00009n-RU for cc-mode-help@lists.sourceforge.net; Tue, 06 Jan 2009 23:00:52 +0000 Received-SPF: pass (29vjzd1.ch3.sourceforge.com: domain of gnu.org designates 140.186.70.10 as permitted sender) client-ip=140.186.70.10; envelope-from=rms@gnu.org; helo=fencepost.gnu.org; Original-Received: from fencepost.gnu.org ([140.186.70.10]) by 29vjzd1.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1LKKuq-00055y-7F for cc-mode-help@lists.sourceforge.net; Tue, 06 Jan 2009 23:00:52 +0000 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LKKtf-0008EJ-AF; Tue, 06 Jan 2009 17:59:39 -0500 In-reply-to: <87mye5kmm3.fsf@cyd.mit.edu> (message from Chong Yidong on Tue, 06 Jan 2009 00:52:04 -0500) X-Headers-End: 1LKKuq-00055y-7F X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:5281 gmane.emacs.devel:107674 Archived-At: > I too find C mode painfully slow these days. I wonder what changed to > make it so much slower than it was. Perhaps the only relevant change > is that Font Lock is now enabled; I never used to enable it. Even so, > it must make a lot of users unhappy. You are likely using an exceptionally slow computer. I am using a Lemote Yeeloong, which could well be the machine we will recommend to the public for the coming year or more. I just did some testing and I am obliged to modify my complaint. It seems that the slowness is mainly in _loading_ C mode. Visiting buffer.h, when it is the first C file I visit, just took 20 seconds. However, once C mode is loaded, visiting buffer.h again is pretty fast. ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB