From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: C mode too slow Date: Tue, 07 Jun 2011 22:43:57 -0300 Message-ID: References: <4DEDC752.7090604@gmx.at> <83boy9d932.fsf@gnu.org> <837h8xcsak.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307497479 15998 80.91.229.12 (8 Jun 2011 01:44:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2011 01:44:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 08 03:44:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QU7ou-00024n-5x for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2011 03:44:32 +0200 Original-Received: from localhost ([::1]:43488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU7os-0005In-VG for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2011 21:44:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU7oY-0005Hy-5p for emacs-devel@gnu.org; Tue, 07 Jun 2011 21:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QU7oS-0001Gt-0Z for emacs-devel@gnu.org; Tue, 07 Jun 2011 21:44:09 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:54347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QU7oR-0001Gp-M1 for emacs-devel@gnu.org; Tue, 07 Jun 2011 21:44:03 -0400 Original-Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:51696 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QU7oR-0007if-4h; Tue, 07 Jun 2011 21:44:03 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id CD8B8660DD; Tue, 7 Jun 2011 22:43:57 -0300 (ART) In-Reply-To: <837h8xcsak.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Jun 2011 23:14:59 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:140281 Archived-At: >> >> > _and_ because editing lisp.h is virtually impossible these days. >> >> > I have to use an old Emacs - almost each editing step takes >> >> > about 15 secs here with the more recent Emacs versions :-( >> >> I tend to find editing code such as lisp.h too slow as well. >> >> Can we do something about it? >> > Disable font-lock? >> I'd rather not have to resort to such a workaround. > I didn't mean that as a workaround. I meant to point out what I > thought was the reason for the slowdown. Oh, yes, it does seem strongly linked to font-lock. There might be some other ways to trigger the slowness, but usually if I disable font-lock it's pretty responsive. Stefan