From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: desktop.el: autosave? Date: Sun, 09 Dec 2007 22:03:41 -0500 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 X-Trace: ger.gmane.org 1197255845 6696 80.91.229.12 (10 Dec 2007 03:04:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2007 03:04:05 +0000 (UTC) Cc: tomas@tuxteam.de, emacs-devel@gnu.org, rms@gnu.org, Reuben Thomas To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 10 04:04:13 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 1J1YwG-0006A6-8J for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2007 04:04:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1Yvy-0000Cd-Oy for ged-emacs-devel@m.gmane.org; Sun, 09 Dec 2007 22:03:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1Yvv-0000CP-9H for emacs-devel@gnu.org; Sun, 09 Dec 2007 22:03:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1Yvt-0000C2-PD for emacs-devel@gnu.org; Sun, 09 Dec 2007 22:03:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1Yvt-0000Bz-Ml for emacs-devel@gnu.org; Sun, 09 Dec 2007 22:03:49 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J1Yvq-0008LK-KD; Sun, 09 Dec 2007 22:03:46 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALo6XEdMCpwi/2dsb2JhbAA X-IronPort-AV: E=Sophos;i="4.23,274,1194238800"; d="scan'208";a="11132330" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 09 Dec 2007 22:03:42 -0500 Original-Received: from pastel.home ([76.10.156.34]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id PPN28142; Sun, 09 Dec 2007 22:03:42 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id CE30C7F50; Sun, 9 Dec 2007 22:03:41 -0500 (EST) In-Reply-To: <87lk835rb7.fsf@jurta.org> (Juri Linkov's message of "Mon, 10 Dec 2007 02:27:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:84943 Archived-At: >> 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. Stefan