[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36160: 25.2; Emacs does not ask to save modified files when shutting
From: |
Glenn Morris |
Subject: |
bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS |
Date: |
Thu, 13 Jun 2019 11:59:41 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Johan Pretorius wrote:
> 3. Edit the buffer, DON'T save it to file
> 4. Shutdown computer (e.g. Ubuntu shutdown)
> 5. Start it back up again
> 6. Open the same file again
> 7. Look for the change you made... it's not there
>
> The file is not saved during OS shutdown, nor is there any complaint
> from Emacs in this situation. It is about to lose data... It should
> complain!
Does any editor complain in such a situation?
It would mean a user process could block a shutdown, which seems unlikely.
Anyway, this is the kind of thing auto-save files are for.