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: Tue, 04 Dec 2007 21:57:03 -0500 Message-ID: References: <8763zjfe0v.fsf@jurta.org> <87mysridxt.fsf@jurta.org> <47550419.2080503@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1196823497 22206 80.91.229.12 (5 Dec 2007 02:58:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 02:58:17 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org, rrt@sc3d.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 05 03:58:27 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 1IzkSu-0008Pd-5c for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2007 03:58:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzkSd-0001Ol-OK for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2007 21:58:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzkRe-0000wh-G4 for emacs-devel@gnu.org; Tue, 04 Dec 2007 21:57:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzkRc-0000vI-W5 for emacs-devel@gnu.org; Tue, 04 Dec 2007 21:57:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzkRc-0000v7-JG for emacs-devel@gnu.org; Tue, 04 Dec 2007 21:57:04 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzkRc-0007cw-Ac for emacs-devel@gnu.org; Tue, 04 Dec 2007 21:57:04 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IzkRb-0005Sp-H0; Tue, 04 Dec 2007 21:57:03 -0500 In-reply-to: <47550419.2080503@gmx.at> (message from martin rudalics on Tue, 04 Dec 2007 08:39:05 +0100) 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:84700 Archived-At: > 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. Two timers? The non-idle one triggers (after an hour or so) an idle one. That's a strange idea. My idea is that they both trigger saving.