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: Sun, 27 Dec 2009 13:33:43 +0300 Message-ID: <2a382c6e0912270233h14ce76e3q4572c9161c9870e1@mail.gmail.com> References: <2a382c6e0812010201h7a2507fbg66a38f392d9837a9@mail.gmail.com> <20081201123716.GA3603@muc.de> <2a382c6e0901041407w2ca824cdy88d1529af8966069@mail.gmail.com> <20091204152523.GA5435@muc.de> <2a382c6e0912190251pbe0842ayb2873f5855d393e3@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1261910049 7385 80.91.229.12 (27 Dec 2009 10:34:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2009 10:34:09 +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 Sun Dec 27 11:34:01 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 1NOqRk-0008HI-R0 for ged-emacs-devel@m.gmane.org; Sun, 27 Dec 2009 11:34:01 +0100 Original-Received: from localhost ([127.0.0.1]:33339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOqRi-0000sR-Dq for ged-emacs-devel@m.gmane.org; Sun, 27 Dec 2009 05:33:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NOqRa-0000sM-KW for emacs-devel@gnu.org; Sun, 27 Dec 2009 05:33:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NOqRY-0000ry-Qa for emacs-devel@gnu.org; Sun, 27 Dec 2009 05:33:48 -0500 Original-Received: from [199.232.76.173] (port=54254 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOqRY-0000rv-JM for emacs-devel@gnu.org; Sun, 27 Dec 2009 05:33:48 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.153]:18170) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NOqRV-0000R7-7D; Sun, 27 Dec 2009 05:33:45 -0500 Original-Received: by fg-out-1718.google.com with SMTP id 19so4653865fgg.12 for ; Sun, 27 Dec 2009 02:33:43 -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; bh=nFT8abhg7akHO0Ywxebfld/1zOrDX1tQcWy9aWkhaD4=; b=UBWTQL9VaE0QKtp8Ab1JDgjrU+Nl84IghxpItqxBsYlK4dKeL80YeKVScIhaTYDqH4 3Pew9bHr71x/omovbEVwSTqY4DW8ehFJP+EUhvtvD+5XYjMbHxKvqmoqN/2dwI2xMssY uIL/E8DfRpUOFZvdhpXkdJgZcqTFdBPi01+v8= 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; b=rAZM2xglCeK55xfkADvnVK0l/th5vXQNY+hBruT5C0t7LDdd9zPOgno4Ex1TwaFUX3 3QKcp1pDOCpZuthkjBy1nTFcbNAE90KS6u5iQ4bIu32JHyTK+ZstGPEQfDgu53FadekU BVqjSNjniUNd/p63EzJxLgHinJUhlIlqP889M= Original-Received: by 10.239.188.3 with SMTP id n3mr882292hbh.60.1261910023341; Sun, 27 Dec 2009 02:33:43 -0800 (PST) In-Reply-To: <2a382c6e0912190251pbe0842ayb2873f5855d393e3@mail.gmail.com> 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:118833 Archived-At: On Sat, Dec 19, 2009 at 1:51 PM, Dave Milter wrote: > 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. > I was able to reproduce it constantly. Open empty file C file, for example /tmp/1.c type #include int main(int argc, char *argv[]) { } after that save and go to "{" type enter and wrote: if (argc < 3) { } aftern that tab will not move "if (argc < 3)" to right position.