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: Stealth fontification GCs a lot Date: Sun, 10 Apr 2005 23:40:14 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113191301 1500 80.91.229.2 (11 Apr 2005 03:48:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2005 03:48:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 11 05:48:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKpu7-0002kq-MS for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2005 05:48:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKpU9-00009J-V5 for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2005 23:21:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKpTs-00007N-8G for emacs-devel@gnu.org; Sun, 10 Apr 2005 23:20:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKpTp-00006S-R6 for emacs-devel@gnu.org; Sun, 10 Apr 2005 23:20:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKpTp-0008WE-E7 for emacs-devel@gnu.org; Sun, 10 Apr 2005 23:20:53 -0400 Original-Received: from [206.47.199.165] (helo=simmts7-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DKpo1-0001ml-M0; Sun, 10 Apr 2005 23:41:45 -0400 Original-Received: from empanada.home ([67.68.217.126]) by simmts7-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050411034015.LAAD1621.simmts7-srv.bellnexxia.net@empanada.home>; Sun, 10 Apr 2005 23:40:15 -0400 Original-Received: by empanada.home (Postfix, from userid 502) id C52F64ECC29; Sun, 10 Apr 2005 23:40:14 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun, 10 Apr 2005 21:57:00 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) 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:35854 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35854 > I have been trying Font Lock mode, which I never used to use before. > I notice that when stealth fontification is occurring, Emacs spends > about 1/3 of its time GCing. The frequent GCs make for annoying > latency when I type another command. I haven't looked at the consing behavior, but I'll just mention that I find stealth fontification annoying and have turned it off a while ago. Many people have reported problems with it (typically they complain that Emacs uses a lot of resources even when it's not used, which sucks when you're running on batteries). I haven't heard of any good reason why it should be enabled by default (the argument that it forces us to fix it doesn't hold water since it still hasn't been fixed after all these years). Stefan