From: Glenn Morris <rgm@gnu.org>
To: Johan Pretorius <pretoriusjf@gmail.com>
Cc: 36160@debbugs.gnu.org
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 [thread overview]
Message-ID: <una7el328i.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAP4ohJDjazzTtdUWCSrBgD0i3xB98J-96G853tXZhzWLPsXuow@mail.gmail.com> (Johan Pretorius's message of "Mon, 10 Jun 2019 20:31:38 +0200")
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.
next prev parent reply other threads:[~2019-06-13 15:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-10 18:31 bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS Johan Pretorius
2019-06-13 15:59 ` Glenn Morris [this message]
2019-06-13 16:56 ` Lars Ingebrigtsen
2019-06-13 17:36 ` Glenn Morris
2019-06-13 18:56 ` Glenn Morris
2019-06-13 19:24 ` Eli Zaretskii
2019-06-13 19:38 ` Glenn Morris
2020-08-26 0:46 ` Stefan Kangas
2020-08-26 6:14 ` Eli Zaretskii
2020-08-27 6:16 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=una7el328i.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=36160@debbugs.gnu.org \
--cc=pretoriusjf@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).