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 22:02:05 +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 1197324148 24299 80.91.229.12 (10 Dec 2007 22:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2007 22:02:28 +0000 (UTC) Cc: Juri Linkov , tomas@tuxteam.de, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 10 23:02:36 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 1J1qhv-0005db-Nc for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2007 23:02:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1qhe-0005xy-9a for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2007 17:02:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1qhb-0005xm-8t for emacs-devel@gnu.org; Mon, 10 Dec 2007 17:02:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1qha-0005xK-0p for emacs-devel@gnu.org; Mon, 10 Dec 2007 17:02:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1qhZ-0005xH-R8 for emacs-devel@gnu.org; Mon, 10 Dec 2007 17:02:13 -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 1J1qhW-00037W-14; Mon, 10 Dec 2007 17:02:10 -0500 DomainKey-Signature: a=rsa-sha1; s=key1024; d=sc3d.org; c=nofws; q=dns; b=dwosXZiOgcWA8DlrMLIecmrpZHVMZph1SWLH/8vG5xiYTj3KI/w7NBUzpaKA9RG/5TwtGuhbrcvD38pa+x2mSUz+0qsEa+slf/6XNG4oKUIk7DoFozHB5vesYiiN9yjpgpsUg1wmTst6EN7UUt63yXExsGDKIkyGNWqyMAyj8r0= 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 PIM20208; Mon, 10 Dec 2007 17:02:08 -0500 X-X-Sender: rrt@localhost.localdomain In-Reply-To: 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:84983 Archived-At: On Sun, 9 Dec 2007, Stefan Monnier wrote: >>> 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. > > BTW, how 'bout optimizing disk writes like savehist does: only save the > new desktop file if it's different from the previous one. That doesn't > save you from generating the new file's content in a buffer, of course, > but still. I was previously unaware of savehist-mode. What's the point of having both it and the history-saving functionality of desktop? Wouldn't it be better to remove that functionality from desktop and let users use savehist-mode instead? (Or vice versa.) -- http://rrt.sc3d.org/ | author, n. one who parades ignorance in public