From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59862: quit-restore per window buffer Date: Mon, 15 Jul 2024 09:32:33 +0200 Message-ID: <1fb1cc7a-b8ea-4d6d-ac6d-19abffef44f3@gmx.at> References: <86fsds8mlm.fsf@mail.linkov.net> <8243325e-ed03-4e9e-b64f-c8225fb6dc60@gmx.at> <18173da7-32e1-4f14-bbea-9a8fa66af7dd@gmx.at> <86plsxmc6d.fsf@mail.linkov.net> <86r0d4ezdc.fsf@mail.linkov.net> <0d01a044-d7d6-456a-9ba9-d987faad4332@gmx.at> <86frthjq4y.fsf@mail.linkov.net> <743dc4dd-cf09-4c5e-9209-b63a47480e0b@gmx.at> <86msnne7ut.fsf@mail.linkov.net> <86plsgrfvu.fsf@mail.linkov.net> <86le2b12ni.fsf@mail.linkov.net> <86y169kafb.fsf@mail.linkov.net> <61c4f245-3dd8-4e24-9c84-7ddd4cfe3c49@gmx.at> <86a5ioo269.fsf@mail.linkov.net> <867cdr3xs7.fsf@mail.linkov.net> <3f399d4f-3dd2-4624-b857-e198f70b5565@gmx.at> <86h6csct0w.fsf@mail.linkov.net> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26848"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 59862@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 15 09:33:22 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 1sTGD3-0006kL-Qx for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Jul 2024 09:33:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTGCk-0007rO-Rg; Mon, 15 Jul 2024 03:33:02 -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 1sTGCi-0007rB-Ui for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2024 03:33:01 -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 1sTGCi-0004le-Hh for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2024 03:33:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sTGCk-0000K1-Bd for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2024 03:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jul 2024 07:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59862 X-GNU-PR-Package: emacs Original-Received: via spool by 59862-submit@debbugs.gnu.org id=B59862.17210287651043 (code B ref 59862); Mon, 15 Jul 2024 07:33:02 +0000 Original-Received: (at 59862) by debbugs.gnu.org; 15 Jul 2024 07:32:45 +0000 Original-Received: from localhost ([127.0.0.1]:58943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTGCS-0000Ge-VV for submit@debbugs.gnu.org; Mon, 15 Jul 2024 03:32:45 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sTGCP-0000Es-Ub for 59862@debbugs.gnu.org; Mon, 15 Jul 2024 03:32:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1721028753; x=1721633553; i=rudalics@gmx.at; bh=tgiaPf+BkK6UtK5G/12lIPhCZEEZdNkcErQizE31sAc=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=OwgPlA2YUhDp6U3lV7OlljXayrg7MWX8b9JCfJhTP1gN/0TLm2plF5IhXMMkCIE/ NsNBjXs1Hv9iuE8oKyldQTvbBCylmpuGYf35Hzwv49Tovw5A5ja2+BROQIPMIc/R1 YGL3/yjqfJAGkjKySv050Ubywc8LYAsi6RMpYiH4+FZXo5FhnnPPUvlmXBjRHo42E jhoEOjlJu+TU2UIqM42Fdl5vma8ul9IJ/ZgcbzvRL9hLe8Y3Vv9u+csdJixMRdwd1 AGsrPRQ3WweKljMtA6A9HL+yL8RmE0jgPEvorWb8008ymA9reHBqC1fJoI2GgJpms a47CXXg84uT0+qQsmg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([46.125.249.67]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MbirE-1rvabn3B66-00mAmH; Mon, 15 Jul 2024 09:32:33 +0200 Content-Language: en-US In-Reply-To: <86h6csct0w.fsf@mail.linkov.net> X-Provags-ID: V03:K1:Birs+mARIjxxDqDkPZd0AKM2/KGdkBIMvwvUQ6psGjfLdMnup+B UPTgJNOoWqZUn9RrTYVBCpBfOQVBpcTmLLPCPmu1HZEWnev7zC68fgkgLko3fbpW6e3z52R 5G3ew4A+kIEfN79xD98ZQB16ZLQtV3hS1HImxbepLgcCQNsLy1nuCYWC9QjZQEuAVWjIQ+I 4TaHYi+J202MA3m4/PdCg== UI-OutboundReport: notjunk:1;M01:P0:ILn3KdyyuIw=;vzBG35+rqQm372uEaLjbcvC2d1X Pc44UJkE5CUzjnm6Xc5xBl9hD2xdI5yehhdIv5j/RaA6o3b8JL3ibcS1ETbsNMB8vWuhZazmD t/QKsTou47b1FUnrMIYsoZXE75jDgYDwtNfj0vOYMB0Xx8IICsdHiIIp9mdNvNlRTHmY/75uU D2kHm5vBcRbOplWcD2oVDZd+Uv6WIGppJ8uW4SyeQUDMn0RNhpTxP0cUr1CtzzAVpwPNTMHys zokW+Qawn4j+/94UuTsJYED8j9tl5Y+ID6tdJcUYgZr6q6HSpwif9ne6rrstmQ5UaO538RcUY rrkjvwjt+YAdVZi0Yk14X6P47tofjljVFTpwJzuwgiLy0BZ4DuY3B4BboyCMaWRa5k5fQWwIe YFzZXacV3oaAQd32fWyl6tVVpCYWJ4cfYmy6+0bSkdbEMEBjt/HyVFm/TpQesiTuedbO1ptpP q4z2rfEbrZYaLawsrkD9Z+tf3wseBfQjvyvBS9Znb0U/qMKJygPndAKThvvWXmw0Cc4HresYM WQASG8hybRLi95L9yyPO6JOjWtK5jpS7urad9nctZe7/IoJjrpohb7ppwN7CiAPsdl8GtPPXC 6MWAcQnHWCeYQsH437wxNEzgJ6jgSfnhgocab1g/9uicCdRgFo4RgJWo7jnqb6iu3wUy4i19B E8DwXQFCyk73M7FW17u4RDiSmp33XFC6XMkrQ4i4nJ+9plC7esXHpVAUsrfeqUY6MR7+5lrvw N5BwDBscBTxZYraDCADwqEYDrK98Fsg5ozwJIXQpKN0kBM0QMWT83G1yxwzWRMh73ekSaQM+ 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:288856 Archived-At: >> This will keep the frame around so >> Bu#12764 is not affected and the normal behavior of C-h i followed by >> C-h e is not affected either unless a user deleted *scratch* in between. > > Sorry, I know nothing about the frame case. When creating a frame as part of 'display-buffer', quitting the sole window of that frame should delete the frame. When creating a frame separately and calling 'display-buffer' to show a buffer in its only window, quitting the window should not delete the frame even if that window has no previous buffer. See Bug#12764 for the details. > OTOH, I tried to add the tab case handling to the same places > where the frame case is handled, and everything works nicely > with this patch applied over your previous patches: If nobody objects I'll install my patch next week and you can install your changes on top of it. martin