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: Mon, 10 Dec 2007 00:35:01 +0000 (GMT) Message-ID: References: <8763zjfe0v.fsf@jurta.org> <87mysridxt.fsf@jurta.org> <20071206153806.GA20731@www.trapp.net> <87d4tjbh0g.fsf@jurta.org> <87abon5q1f.fsf@jurta.org> <87lk835rb7.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 1197246926 19467 80.91.229.12 (10 Dec 2007 00:35:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2007 00:35:26 +0000 (UTC) Cc: tomas@tuxteam.de, rms@gnu.org, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 10 01:35:34 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 1J1WcO-0000c2-RT for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2007 01:35:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1Wc7-00039f-DU for ged-emacs-devel@m.gmane.org; Sun, 09 Dec 2007 19:35:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1Wc3-000398-O0 for emacs-devel@gnu.org; Sun, 09 Dec 2007 19:35:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1Wc1-00038e-Ux for emacs-devel@gnu.org; Sun, 09 Dec 2007 19:35:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1Wc1-00038b-MT for emacs-devel@gnu.org; Sun, 09 Dec 2007 19:35:09 -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 1J1Wby-0003jt-B3; Sun, 09 Dec 2007 19:35:06 -0500 DomainKey-Signature: a=rsa-sha1; s=key1024; d=sc3d.org; c=nofws; q=dns; b=2Gj9eEnyWfGim2Z8gVkH+5hJE1k3CYCcjCGHxDfuuVw8zdz9UWd/JAg9km9UOIuGEYdi+vCf6m0FITWNNlopDu+nFs30PA7/6QnNafomUZRMiIVUpYPBEqkx06EgjY+paFisjKjHQErOQQu6nPsj3P38QVIkrviqplzRPAFYBbc= Original-Received: from drom (cpc1-popl1-0-0-cust343.popl.cable.ntl.com [81.106.81.88]) by pelican.sc3d.org (pf ESMTP spamd IP-based SPAM blocker) with ASMTP (SSL) id PMT59405; Sun, 09 Dec 2007 19:35:05 -0500 X-X-Sender: rrt@localhost.localdomain In-Reply-To: <87lk835rb7.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:84938 Archived-At: On Mon, 10 Dec 2007, Juri Linkov wrote: >> After about 30 hours, saving the desktop had accumulated about 50s of time >> this way. That seems a reasonable amount to me. I have 137 buffers in my >> session, and my desktop file is about 38,000 bytes long. Hence, I suggest >> that a simple feature "Auto-save desktop" which adds >> desktop-save-in-desktop-dir to auto-save-hook, would satisfy most people >> likely to use this feature. Furthermore those concerned about power usage >> and disk spin-up only have to worry about the same Emacs feature >> (auto-save-hook), and not add another hook or function to their list of >> things to tweak. > > For users with small desktop files this simple solution could be > satisfactory. How much bigger than mine do you think it's going to get? > A separate question is whether to auto-save the desktop using > auto-save-hook by default or not. Perhaps not if it can cause > potential problems for users. I think this is a nice default if desktop is active. Of course, desktop itself is not switched on by default. I don't think it will cause problems for many users; those who don't like it can switch it off, of course. It seems reasonable to have it on by defaut, just like auto-save for files is on by default. -- http://rrt.sc3d.org/ | aphorism, n. a wise lie