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#71386: 29.1; Frame is auto-deleted even when it has multiple tabs Date: Sun, 09 Jun 2024 20:46:03 +0300 Message-ID: <86msnu9fhg.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14751"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, abdo.haji.ali@gmail.com, 71386@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 09 19:56:10 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 1sGMm2-0003e4-Lu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jun 2024 19:56:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGMle-00027U-Kx; Sun, 09 Jun 2024 13:55:46 -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 1sGMld-000273-Ne for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 13:55:45 -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 1sGMld-0003AY-EX for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 13:55:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sGMlt-0003r5-Sx for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 13:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jun 2024 17:56:01 +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.171795572514722 (code B ref 71386); Sun, 09 Jun 2024 17:56:01 +0000 Original-Received: (at 71386) by debbugs.gnu.org; 9 Jun 2024 17:55:25 +0000 Original-Received: from localhost ([127.0.0.1]:51947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGMlI-0003pI-Ne for submit@debbugs.gnu.org; Sun, 09 Jun 2024 13:55:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGMch-0003QU-7w for 71386@debbugs.gnu.org; Sun, 09 Jun 2024 13:46:31 -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 1sGMcK-0001EN-82; Sun, 09 Jun 2024 13:46:08 -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=VYSEzFTGIDxELuwSOocoZCMgmw28z/1i+ON58x6V8v0=; b=Fmd4J83VPjF/ IMaEe3wcX+9CjUl6pY89LUrN3vFo++RWVAY30mynDWKVrXHXDDiwxYnHPhrx8ocrriYLvVLttXt25 gmUi8zv3nlONf38gp8bjoIeipZ/ZCjggdv+ZD8Mrbw3u0d0HH/Lj0CKq3xFJ4UUw9IhqpBsZXNBf5 nKgm7GO5qQ7zQzK3q4IEsl9sBUTAJYfGvFhQigXXT2W//Gy+oe8rIB4xbSzRIlflE6nQD6WjWjagg TvO3dqWv+4VIgV3pCwvZ3zYtBaSZt9mFkZqcEZlIoFSwDMykWtOWzypHyxrNev7TkjuZVAr87AQnw IxVxc2uSjbL9E5ihN+hvyg==; In-Reply-To: <868qzehxie.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 09 Jun 2024 19:59:29 +0300) 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:286956 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , rudalics@gmx.at, 71386@debbugs.gnu.org > Date: Sun, 09 Jun 2024 19:59:29 +0300 > > +(defun tab-bar-window-delete-frame (frame _kill) > + "Whether FRAME should be deleted when other tabs are available for that frame. > +Instead of deleting the frame, close the current tab. The first and the second sentences contradict each other. The first implies that this is a predicate which returns a boolean, whereas the second says that it closes the tab and negtlets to say anything about the return value. > +(defvar window-delete-frame-functions nil > + "Don't delete frame when one of functions returns t. > +Each of functions is called with two arguments: FRAME and KILL. > +The function can perform an action instead of deleting the frame.") This doc string should at least explain what is the KILL argument and its meaning.