[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: desktop-auto-save-timeout
From: |
martin rudalics |
Subject: |
Re: desktop-auto-save-timeout |
Date: |
Thu, 05 Jun 2014 09:48:42 +0200 |
> I realized now that the right way to implement the desktop auto-saving
> is to activate an idle timer only on changes in the window configuration
> by window-configuration-change-hook.
>
> The desktop file is mostly about remembering a list of buffers and
> windows. There is no point in auto-saving each time point moves.
> This is what web browsers do by auto-saving a list of tabs
> only when you open/close a tab.
Agreed. We might lose some window-points and some buffers that have not
been displayed yet in that case but this is no great harm.
martin