GNU bug report logs -
#51993
29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files
Previous Next
Reported by: Jim Porter <jporterbugs <at> gmail.com>
Date: Sat, 20 Nov 2021 04:30:01 UTC
Severity: normal
Tags: patch
Found in version 29.0.50
Done: Jim Porter <jporterbugs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #68 received at 51993 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 19 Oct 2022 20:14:38 -0700
> Cc: larsi <at> gnus.org, 51993 <at> debbugs.gnu.org, gregory <at> heytings.org
> From: Jim Porter <jporterbugs <at> gmail.com>
>
> I proposed a couple of behaviors that I described in as much detail as I
> could in the hopes of avoiding confusion and coming to an agreement
> here:
> <https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-11/msg02245.html>.
>
> To summarize it briefly, the behavior I would personally prefer is this.
> When deleting an emacs client by any means (e.g. 'C-x C-c', clicking the
> X on the last frame of a client, etc):
>
> a) if this is not the last client, behave the same as Emacs 28:
> prompt to save files specified when starting "emacsclient", and then
> delete that client.
>
> b) if this *is* the last client, prompt the user to save everything
> (as with 'save-buffers-kill-emacs'), and then delete the client + kill
> the Emacs daemon.
You mean, in b), instead of just deleting the frame and leaving the
daemon run, you want to shut down Emacs in its entirety, as if the
user invoked kill-emacs? I'm okay with that as an optional behavior,
although I myself won't use it, as it's too dangerous.
This bug report was last modified 2 years and 163 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.