From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58909: 29.0.50; [WIP PATCH] Deleting the last frame of an emacsclient doesn't ask to save Date: Mon, 31 Oct 2022 21:43:24 +0200 Message-ID: <838rkveq3n.fsf@gnu.org> References: <9a70f868-ca50-52fc-af3e-23813af104f2@gmail.com> <83zgdcduxm.fsf@gnu.org> <53238b5b-3e0a-3dfe-eeba-f37cafa81f50@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58909@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 31 20:44:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opahv-0001YJ-Qd for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Oct 2022 20:44:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opaha-0005OW-CH; Mon, 31 Oct 2022 15:44:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opahX-0005Ny-TV for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 15:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opahW-0005HZ-8m for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 15:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opahW-0008Bz-37 for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 15:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Oct 2022 19:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58909-submit@debbugs.gnu.org id=B58909.166724543131450 (code B ref 58909); Mon, 31 Oct 2022 19:44:02 +0000 Original-Received: (at 58909) by debbugs.gnu.org; 31 Oct 2022 19:43:51 +0000 Original-Received: from localhost ([127.0.0.1]:41863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opahL-0008BC-Eg for submit@debbugs.gnu.org; Mon, 31 Oct 2022 15:43:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opahF-0008Aa-Q3 for 58909@debbugs.gnu.org; Mon, 31 Oct 2022 15:43:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opahA-0005BW-Hb; Mon, 31 Oct 2022 15:43:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=fOv9kEdE6LIqaOMC6m4D3/tOb7szVTsgvRweqmbs+o0=; b=rT6s9RpuaBAQ BzOIrtc3qsz49T27bearmeoEXPh9DgpTUD0R1FbPFHkc/HvfewZW2pkD5tCKT7HddY8CjpmAxJh3B maFcouey/+mFX653B+kz3iJSZeSVESlDTRdO4KCUgenITIaxqCtUmetHNqY4fZxXLTBFQjRgJ7dDx c34/cnZhvt+qbff1Ua4lp4bVN6/zQxTG2mAkzH4lytZZS2EUUCUUPJk+Oi7x6cann6qbodeDFm/FS XvIsDCS3TprMJwGBpUmWSWsgVdI5uyV1p5+TKxi6WwkiqvxZjd+NkOFIbuoq2ElNtodjw7FrN2SWi NwM9T6eDLwkuuTnr0IOuww==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opah9-00042H-G8; Mon, 31 Oct 2022 15:43:40 -0400 In-Reply-To: <53238b5b-3e0a-3dfe-eeba-f37cafa81f50@gmail.com> (message from Jim Porter on Mon, 31 Oct 2022 12:28:23 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246716 Archived-At: > Date: Mon, 31 Oct 2022 12:28:23 -0700 > Cc: 58909@debbugs.gnu.org > From: Jim Porter > > > I'm uneasy with this incompatible behavior change. I can think of > > some legitimate use cases where "C-x 5 0" should not prompt, e.g., if > > the user intends to keep editing the file, and no application is > > waiting for the client to finish. Why break such flows? > > After thinking about this some more, I realized that I didn't properly > address this part of your message. If no application is waiting for the > client to finish, then the user hopefully used "--no-wait" when starting > emacsclient. No, I meant that the user invoked emacsclient from the shell prompt, for example. As opposed to some application invoking emacsclient via $EDITOR or similar.