[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39791: 26.3; auto-save-list-file-name should not be deleted when Ema
Edward J. Sabol
bug#39791: 26.3; auto-save-list-file-name should not be deleted when Emacs is terminated by SIGHUP
Fri, 28 Feb 2020 14:43:50 -0500 (EST)
>> If I ssh to a remote server and start Emacs and my ssh connection is
>> severed sometime thereafter, causing the remote emacs process to be
>> terminated with SIGHUP, the auto-save-list-file-name file is deleted. I
>> find this very undesirable. If there's an option to change this behavior,
>> I can't find one.
> Emacs deletes auto-save-list-file-name upon SIGHUP because it performs
> auto-save. Since auto-saving was done, what would be the purpose of
> keeping auto-save-list-file-name? That variable is only for when
> auto-saving wasn't performed on exit.
Well, that's not the only thing that file is good for. For decades, I have
used the auto-save-list-file-name file to re-open all the files I had open in
the terminated Emacs process when my remote connections are severed. It's
been abundantly useful over the years. It's a shame to lose such
functionality. Just my two cents.