From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.devel Subject: Re: desktop.el: autosave? Date: Thu, 6 Dec 2007 14:58:42 +0000 (GMT) Message-ID: References: <8763zjfe0v.fsf@jurta.org> <87mysridxt.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1196953153 32412 80.91.229.12 (6 Dec 2007 14:59:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2007 14:59:13 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 06 15:59:22 2007 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 1J0IC1-0002y1-I7 for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2007 15:59:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0IBk-0002Rx-N4 for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2007 09:58:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J0IBg-0002Nb-0J for emacs-devel@gnu.org; Thu, 06 Dec 2007 09:58:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J0IBe-0002Jn-Bz for emacs-devel@gnu.org; Thu, 06 Dec 2007 09:58:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0IBe-0002JX-6k for emacs-devel@gnu.org; Thu, 06 Dec 2007 09:58:50 -0500 Original-Received: from pelican.sc3d.org ([216.184.201.86]) by monty-python.gnu.org with esmtps (SSL 3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J0IBZ-0003QC-Us; Thu, 06 Dec 2007 09:58:46 -0500 DomainKey-Signature: a=rsa-sha1; s=key1024; d=sc3d.org; c=nofws; q=dns; b=hxzQKIF/WA0E30PSPRyh6hlxHxhdr0WSsh8kZzx+CmzPHFOZQxHQ0yCb2p1DBeWQ6A+XZL4oowhIPaX0hHN2F/+KLv28lOVf6vcJi+Y+ytKK2JKlSWxr9GhbPF9kZAknys/74RMzRZKh+cStVHSllRGs8zooaI0AkFtEXcweahM= Original-Received: from localhost (cpc4-hitc1-0-0-cust477.lutn.cable.ntl.com [86.11.13.222]) by pelican.sc3d.org (pf ESMTP spamd IP-based SPAM blocker) with ASMTP (SSL) id LAM64044; Thu, 06 Dec 2007 09:58:44 -0500 X-X-Sender: rrt@localhost.localdomain In-Reply-To: <87mysridxt.fsf@jurta.org> User-Agent: Alpine 0.99999 (DEB 796 2007-11-08) X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:84792 Archived-At: On Tue, 4 Dec 2007, Juri Linkov wrote: > I'm not sure an idle timer is good for this feature. I want to auto-save > the desktop at quite long time intervals (an hour or so), but usually > Emacs is not idle for this time. So it seems we need a non-idle timer. Why do you want to save at such long intervals? Is there a performance problem with just using the idle timer? I can't say I've noticed the impact on my fairly modest system (1GHz laptop) by simply autosave-hook. Or is there some positive reason for wanting to save at much longer intervals? -- http://rrt.sc3d.org/ | maxim, n. wisdom for fools