From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#71386: 29.1; Frame is auto-deleted even when it has multiple tabs Date: Thu, 13 Jun 2024 09:50:23 +0300 Organization: LINKOV.NET Message-ID: <86zfrpib04.fsf@mail.linkov.net> References: <86ikymipzx.fsf@gnu.org> <7269c7c4-86a1-44bf-8d5d-378c3584027a@gmx.at> <86zfrx8ec0.fsf@mail.linkov.net> <8561a63a-66d3-44cd-872f-73d26af7edbe@gmx.at> <86msnw4qm4.fsf@mail.linkov.net> <86y17gej2x.fsf@gnu.org> <86y17gmxdg.fsf@mail.linkov.net> <868qzehxie.fsf@mail.linkov.net> <86msnu9fhg.fsf@gnu.org> <86zfruc7qh.fsf@mail.linkov.net> <86ikyi9e2l.fsf@gnu.org> <86o78ac6ny.fsf@mail.linkov.net> <0ab646c8-ff46-4c27-acbf-b5f4b8ab06fd@gmx.at> <86frtkeyzo.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22317"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: martin rudalics , Eli Zaretskii , 71386@debbugs.gnu.org To: Al Haji-Ali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 13 09:16:35 2024 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 1sHehG-0005eR-4W for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jun 2024 09:16:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHeer-0007YX-Gj; Thu, 13 Jun 2024 03:14:05 -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 1sHeeq-0007YJ-Fe for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2024 03:14:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sHeeq-000788-7L for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2024 03:14:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sHeep-0003YH-77 for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2024 03:14:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jun 2024 07:14:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71386 X-GNU-PR-Package: emacs Original-Received: via spool by 71386-submit@debbugs.gnu.org id=B71386.171826282613590 (code B ref 71386); Thu, 13 Jun 2024 07:14:03 +0000 Original-Received: (at 71386) by debbugs.gnu.org; 13 Jun 2024 07:13:46 +0000 Original-Received: from localhost ([127.0.0.1]:57877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHeeY-0003X7-7G for submit@debbugs.gnu.org; Thu, 13 Jun 2024 03:13:46 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:58919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHeeT-0003WI-4c for 71386@debbugs.gnu.org; Thu, 13 Jun 2024 03:13:41 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 0358540007; Thu, 13 Jun 2024 07:13:13 +0000 (UTC) In-Reply-To: (Al Haji-Ali's message of "Tue, 11 Jun 2024 17:26:06 +0100") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287182 Archived-At: >> So it makes no sense to send the value of the KILL arg to tab-bar code? >> Because there is nothing to decide based on its value? > > Perhaps, for consistency, the argument should be send in case > `window-delete-frame-functions` is used for other reasons by the > user. Also, perhaps the tab should not be closed if `kill` is nil (similar > to how the frame is not killed if `kill` is nil) and another buffer should > be shown. If I read `window--delete` code correctly, the frame goes away in any case: (kill (delete-frame frame)) ((functionp frame-auto-hide-function) (funcall frame-auto-hide-function frame)) If `kill` is nil, the frame gets hidden: the default value of `frame-auto-hide-function` is `iconify-frame` that is like closing the tab too.