[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: desktop.el: autosave?

From: Juri Linkov
Subject: Re: desktop.el: autosave?
Date: Tue, 04 Dec 2007 00:57:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>     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.

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.

Juri Linkov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]