From xemacs-m  Sat Feb 22 02:37:31 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA05464
	for <xemacs-beta@xemacs.org>; Sat, 22 Feb 1997 02:37:30 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQcdyw05339; Sat, 22 Feb 1997 03:37:29 -0500 (EST)
Date: Sat, 22 Feb 1997 03:37:29 -0500 (EST)
Message-Id: <QQcdyw05339.199702220837@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: Re: auto-save itimer
In-Reply-To: <m2bu9d1ci8.fsf@altair.xemacs.org>
References: <QQcdyg00864.199702220431@crystal.WonderWorks.COM>
	<m2bu9d1ci8.fsf@altair.xemacs.org>

Steven L Baur writes:
 > Kyle Jones writes:
 > 
 > > Try
 > > M-x list-itimers
 > 
 > > The auto-save timer is set to wake up every seven seconds.
 > > Like wow.  Why??
 > 
 > Before My Time.  Should it be turned off?

Probably not turned off, but simplified.

    auto-save-timeout's value is 30
      -- a variable declared in Lisp.

    Documentation:
    *Number of seconds idle time before auto-save.  Zero or nil
    means disable auto-saving due to idleness.

    The actual amount of idle time between auto-saves is
    logarithmically related to the size of the current buffer.
    This variable is the number of seconds after which an
    auto-save will happen when the current buffer is 50k or less;
    the timeout will be 2 1/4 times this in a 200k buffer, 3 3/4
    times this in a 1000k buffer, and 4 1/2 times this in a 2000k
    buffer.

    See also the variable `auto-save-interval', which controls
    auto-saving based on the number of characters typed.

I would prefer it if auto-save-timeout just autosaved at the
timeout interval, period.  The default interval should be larger,
say 300.  No GC stuff mixed in.

I'd also prefer it if the auto-save-timeout goop was moved out of
itimer.el, since it is unrelated.

