From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: desktop.el: autosave? Date: Sat, 01 Dec 2007 18:41:10 -0500 Message-ID: References: <8763zjfe0v.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1196552600 15462 80.91.229.12 (1 Dec 2007 23:43:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Dec 2007 23:43:20 +0000 (UTC) Cc: rrt@sc3d.org, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 02 00:43:28 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 1IybzP-0002Dc-8M for ged-emacs-devel@m.gmane.org; Sun, 02 Dec 2007 00:43:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iybz9-0000KC-3c for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2007 18:42:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IybxQ-0007aR-2h for emacs-devel@gnu.org; Sat, 01 Dec 2007 18:41:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IybxP-0007a2-Np for emacs-devel@gnu.org; Sat, 01 Dec 2007 18:41:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IybxP-0007Zs-5D for emacs-devel@gnu.org; Sat, 01 Dec 2007 18:41:11 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IybxP-00076J-1e for emacs-devel@gnu.org; Sat, 01 Dec 2007 18:41:11 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IybxO-0000BL-Aw; Sat, 01 Dec 2007 18:41:10 -0500 In-reply-to: <8763zjfe0v.fsf@jurta.org> (message from Juri Linkov on Sat, 01 Dec 2007 02:35:12 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84457 Archived-At: But maybe instead of requiring putting this code in .emacs for every user who want to save the desktop periodically, we should add a new user option to desktop.el that specifies time interval of auto-saving? I agree, we should add some such feature. I think the default value of `auto-save-timeout' is too frequent for a heavy function `desktop-save'. Maybe so, but auto-saving based on idle time is an important feature. Whatever we write for automatically saving the desktop should also include a feature to do it after a certain amount of idle time, perhaps 5 mins by default. That way, if you occasionally take typing breaks, Emacs will never interrupt your actual work to save the desktop.