[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: desktop-auto-save-timeout
From: |
Eli Zaretskii |
Subject: |
Re: desktop-auto-save-timeout |
Date: |
Fri, 06 Jun 2014 09:33:31 +0300 |
> From: Juri Linkov <address@hidden>
> Cc: Eli Zaretskii <address@hidden>, Juanma Barranquero <address@hidden>,
> address@hidden
> Date: Fri, 06 Jun 2014 02:35:42 +0300
>
> >> 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.
>
> This is implemented by this patch. Not sure whether it fixes a regression or
> not.
Thanks. Since this is a new functionality in Emacs 24.4, I think we
can allow it on the emacs-24 branch.