unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 36160@debbugs.gnu.org, Johan Pretorius <pretoriusjf@gmail.com>
Subject: bug#36160: 25.2; Emacs does not ask to save modified files when shutting down OS
Date: Thu, 13 Jun 2019 18:56:42 +0200	[thread overview]
Message-ID: <m3wohpqv91.fsf@gnus.org> (raw)
In-Reply-To: <una7el328i.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 13 Jun 2019 11:59:41 -0400")

Glenn Morris <rgm@gnu.org> writes:

> Does any editor complain in such a situation?
> It would mean a user process could block a shutdown, which seems unlikely.

I've got an Apple machine at work, and when I try to reboot it, there
are frequently user processes that stop the process.  It's really
annoying.

So it's available on some systems...

I don't think Emacs wants to do that, but it could, like, listen to dbus
messages about being shut down and try to autosave some buffers, for
instance...  Perhaps?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-06-13 16:56 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
2019-06-13 16:56   ` Lars Ingebrigtsen [this message]
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=m3wohpqv91.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=36160@debbugs.gnu.org \
    --cc=pretoriusjf@gmail.com \
    --cc=rgm@gnu.org \
    /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).