Subject: Re: bug#39189: 26.2; recentf should save the list periodically

From: Stefan Kangas <[email-masked]>
Date: Thu, 23 Jan 2020 02:05:49 +0100

ndame <[email-masked]> writes:

> Currently, recentf saves the recentf list only when emacs exits. Sometimes,
> when emacs crashes I lose recently opened files from the list, because
> the list is not saved periodically.
>
> Emacs should save the list every 10 minutes or so when the user is idle, so
> the recentf list is preserved even if there is a crash.

Yes, that would be useful.

I like the semantics of `bookmark-save-flag'.  Perhaps we could
implement something more similar to that for recentf.

Best regards,
Stefan Kangas