From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Milter Newsgroups: gmane.emacs.devel Subject: Re: open large file with C code: is it realy should be so slow? Date: Sat, 19 Dec 2009 13:51:53 +0300 Message-ID: <2a382c6e0912190251pbe0842ayb2873f5855d393e3@mail.gmail.com> References: <2a382c6e0812010201h7a2507fbg66a38f392d9837a9@mail.gmail.com> <20081201123716.GA3603@muc.de> <2a382c6e0901041407w2ca824cdy88d1529af8966069@mail.gmail.com> <20091204152523.GA5435@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1261219942 14815 80.91.229.12 (19 Dec 2009 10:52:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Dec 2009 10:52:22 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 19 11:52:15 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NLwv0-0007b7-W7 for ged-emacs-devel@m.gmane.org; Sat, 19 Dec 2009 11:52:15 +0100 Original-Received: from localhost ([127.0.0.1]:37040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLwv0-0004B4-Th for ged-emacs-devel@m.gmane.org; Sat, 19 Dec 2009 05:52:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLwup-000489-Vh for emacs-devel@gnu.org; Sat, 19 Dec 2009 05:52:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLwuo-00046c-O3 for emacs-devel@gnu.org; Sat, 19 Dec 2009 05:52:03 -0500 Original-Received: from [199.232.76.173] (port=41224 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLwuo-00046T-F8 for emacs-devel@gnu.org; Sat, 19 Dec 2009 05:52:02 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.154]:26842) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLwun-0006v4-5j; Sat, 19 Dec 2009 05:52:01 -0500 Original-Received: by fg-out-1718.google.com with SMTP id 16so1382987fgg.12 for ; Sat, 19 Dec 2009 02:51:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5lDObS3kEh5N2JaPwV20ZIij75clKHz1u1I+pA2q87w=; b=slkgbIFyYFhU8qLdoQlue648xBmHgCr8+vqLVOGaIWWRKTwxLDrjw46uddG1Tt9Srj UiLlQAMGY4CVD/+8FmjBVHyu/nC325235NIttMB6dxegLC+YCL5C7xTDbPGRYOLUp3dD sBzIM5SfF/F+4WQmbyVs9BXUpfu08HTlX241Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SD8eflwF929EHh/ZGhJKm4mqKgZ3K6krak8lYFLV09tmXeFrwOd/kOErNGtHXeQGtS fL05ctdzYE86Jv5b7PbCqkJEICC8AMTAdQHfWHeWn7gDsGaozMz55DbGnNrfEQcCPTpJ bJStv3NOJGi1QeZDGWzTMR2q3Iji2PsAcSWyk= Original-Received: by 10.239.168.135 with SMTP id k7mr564507hbe.99.1261219913265; Sat, 19 Dec 2009 02:51:53 -0800 (PST) In-Reply-To: <20091204152523.GA5435@muc.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118739 Archived-At: On Fri, Dec 4, 2009 at 6:25 PM, Alan Mackenzie wrote: > Hi, Dave! > > I've got this problem fixed, and have committed the new versions of the > CC Mode files (in particular, cc-engine.el, cc-mode.el, cc-defs.el, > cc-fonts.el, cc-langs.el) to both the CC Mode project at > http://cc-mode.sf.net/ and the main Emacs repository at > http://cvs.savannah.gnu.org/viewvc/emacs/emacs/lisp/progmodes/. > > Normally, I'd send you a patch, but you reported the bug so long ago, and > the patch would be enormous, so I think it's best if you could just > download the new version. =A0If this is awkward for any reason, get back = in > touch and I'll email you the files. =A0Please try out this new version, a= nd > let me know if it's not up to scratch. > > Once again, thanks for the original bug report, and once again, sorry > it's taken so long to fix. > Hi, I tried emacs-cvs package from my Linux distributive. M-x version says that it is GNU Emacs 23.1.90.1. It much, much better then previous version, yes it still eats cpu, during fast scrolling, but not continuosly, and stop eat cpu, after I scroll all file. But I faced with another problem, have no idea is it related to new code in c-mode. Time to time magic tab stop working. For example, I have code like this if (foo) { } I insert line after if (foo) { if (foo) { if (boo) { } tab not move "if (boo) {" to position with right indentation. But if I kill buffer, and repopen file all works as expected. I can not find way to constantly reproduce this bug, this happened time to time, when I insert a couple of lines into existing code, stop working in right way, I kill buffer, open file again, and all works.