GNU bug report logs -
#58909
29.0.50; [WIP PATCH] Deleting the last frame of an emacsclient doesn't ask to save
Previous Next
Reported by: Jim Porter <jporterbugs <at> gmail.com>
Date: Sun, 30 Oct 2022 22:30:02 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 #77 received at 58909 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 2 Nov 2022 12:57:57 -0700
> Cc: 58909 <at> debbugs.gnu.org
> From: Jim Porter <jporterbugs <at> gmail.com>
>
> On 11/2/2022 12:23 PM, Eli Zaretskii wrote:
> > Isn't the last suggestion, of having an optional prompt in
> > server-delete-client, good enough?
>
> 'server-delete-client' is called in a bunch of spots, so at minimum, I'd
> want to be extra-careful that prompting doesn't break one of those
> cases.
Sorry, I meant server-handle-delete-frame.
> It would also be nice if I could fix the C-g issue, at least in my
> local configuration.
You could rebind "C-x 5 0" to a different command, and do whatever you
want there.
> Still, I'll take a look at doing this if you think it would be good to
> add to Emacs. (If you think it's not needed, I really don't mind leaving
> the code as-is.)
I thought my opinions on this were clear from the very beginning...
> >> If starting the server activates a minor mode, then Emacs can use a
> >> minor-mode keymap for server-mode. [snip]
> >
> > I'm fine with doing that, but we must also make sure this mode is
> > turned on when users invoke server-start interactively.
>
> I think that makes sense, and it should be fairly straightforward. I'll
> work on a patch for this.
Thanks.
This bug report was last modified 1 year and 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.