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#58404: 29.0.50; [PATCH] When killing Emacs from the last client, don't warn about the session having clients Date: Mon, 10 Oct 2022 19:59:57 +0300 Message-ID: <834jwbhawi.fsf@gnu.org> References: <20194da7-2318-46db-7536-bbd9e3ddf945@gmail.com> <83k058i4y2.fsf@gnu.org> <02eb7516-bccc-16ab-84f2-4688849bfba8@gmail.com> <83tu4cgivn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9641"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58404@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 10 19:01:02 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 1ohw9F-0002KB-3x for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 19:01:01 +0200 Original-Received: from localhost ([::1]:40514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohw9D-0001Ul-Rp for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 13:00:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohw8J-0001JJ-5V for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 13:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohw8I-0008FV-Py for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 13:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohw8I-0002Ac-92 for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2022 13:00: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, 10 Oct 2022 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58404-submit@debbugs.gnu.org id=B58404.16654211978307 (code B ref 58404); Mon, 10 Oct 2022 17:00:02 +0000 Original-Received: (at 58404) by debbugs.gnu.org; 10 Oct 2022 16:59:57 +0000 Original-Received: from localhost ([127.0.0.1]:49718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohw8D-00029v-HJ for submit@debbugs.gnu.org; Mon, 10 Oct 2022 12:59:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohw8B-00029h-Pm for 58404@debbugs.gnu.org; Mon, 10 Oct 2022 12:59:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohw86-0008CO-H2; Mon, 10 Oct 2022 12:59:50 -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=TR1l0fR1YaDLlP43V/wGsganVv5pIyaT0jlVMB22748=; b=lbijgySDNVhC oSew9W5Ni6y45hy+3xhhdrJPQL2bmfPTnGVfxaMK9cXNPnAbwDQG4Qh601hUpAJRd/x+TJ6IKmIIF XjSRimjU+JdbJq8HW6WOtxJCdzKVUp7rK4avXfmsGym32k/i5VKzxsCrGc+/NHUsvjUnozU28TcxF YkX+2L28rrH/x99cdTs43atCUzlNKsRkfZW+tiX58KZaWhNyxVAkkpEke63V5QcWFyjg5VIiyMZ/A 8rO8Y9SABqxTzxrl/b93BzSt9lNehVtqdHM2nJAS/+7wG3cb4Qd78eB+a68ajEUpoY8yMzA3lGMCl Y0NELyt9O283RHpRkPJrHQ==; Original-Received: from [87.69.77.57] (port=2628 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 1ohw85-0005mR-Up; Mon, 10 Oct 2022 12:59:50 -0400 In-Reply-To: (message from Jim Porter on Mon, 10 Oct 2022 09:43:55 -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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245034 Archived-At: > Date: Mon, 10 Oct 2022 09:43:55 -0700 > Cc: 58404@debbugs.gnu.org > From: Jim Porter > > Here's why I think prompting then makes sense: when you're in an > emacsclient frame and there are other non-client frames (i.e. ones > "owned" by the main Emacs process), that looks very similar to the user > as when you have a second emacsclient running. No, there's a very fundamental difference between the two. When there are client frames showing buffers, for each client buffer there's a process waiting, the process which requested the buffer to be edited. That's why we prompt: we don't want to fail those waiting processes. Non-client frames don't have this problem.