From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: setting an optimal value of gc-cons-threshold Date: Sun, 10 Jun 2007 12:14:51 +0200 Message-ID: <87ir9wktes.fsf@escher.local.home> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181470539 3407 80.91.229.12 (10 Jun 2007 10:15:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Jun 2007 10:15:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 10 12:15:37 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HxKSL-00011a-Dt for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jun 2007 12:15:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxKSK-0001pv-QT for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Jun 2007 06:15:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HxKS2-0001pn-4v for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 06:15:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HxKRz-0001nW-Fa for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 06:15:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxKRz-0001nL-8b for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 06:15:11 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HxKRz-0004ir-4z for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 06:15:11 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HxKRm-00079E-R5 for help-gnu-emacs@gnu.org; Sun, 10 Jun 2007 12:14:58 +0200 Original-Received: from i577bc206.versanet.de ([87.123.194.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 12:14:58 +0200 Original-Received: from Stephen.Berman by i577bc206.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 12:14:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.devel Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc206.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44837 Archived-At: On Sat, 09 Jun 2007 21:04:01 -0400 Stefan Monnier wrote: >> I found quite a few people in their .emacs setting gc-cons-threshold to >> a different value than the default 400000. > >> I wonder if there is a guidance for setting this value. > > Better not touch it. In Emacs-22 we introduced gc-cons-percentage which > provides the same benefit as increasing gc-cons-threshold but without > the drawbacks. And without having to fiddle with it. > > I.e. I'd recommend users to remove any gc-cons-threshold settings from their > .emacs. Perhaps this recommendation should be mentioned in the manual and docstrings. Steve Berman