From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Understanding atomic window groups Date: Mon, 03 Jun 2019 18:10:48 +0300 Message-ID: <83sgsqu2kn.fsf@gnu.org> References: <87tvdmqsxq.fsf@ericabrahamsen.net> <0a820a2c-8b37-469e-6b0e-61b126b6c7b8@gmx.at> <87lfyxszb5.fsf@ericabrahamsen.net> <875zpzedy5.fsf@ericabrahamsen.net> <171bed6b-96d6-0fa0-f4f4-b09cb72c7192@gmx.at> <83ftp33qaf.fsf@gnu.org> <49808258-f10f-62dd-313f-5daa299828db@gmx.at> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="33960"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eric@ericabrahamsen.net, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 03 17:34:28 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXoyi-0008h7-LQ for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2019 17:34:28 +0200 Original-Received: from localhost ([127.0.0.1]:36796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXoyh-0007Mn-Gd for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2019 11:34:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXorj-0002Ek-OP for emacs-devel@gnu.org; Mon, 03 Jun 2019 11:27:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXoc2-0004rd-QG; Mon, 03 Jun 2019 11:11:03 -0400 Original-Received: from [176.228.60.248] (port=4053 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hXobw-0001hK-Do; Mon, 03 Jun 2019 11:10:57 -0400 In-reply-to: <49808258-f10f-62dd-313f-5daa299828db@gmx.at> (message from martin rudalics on Mon, 3 Jun 2019 11:11:29 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237222 Archived-At: > Cc: eric@ericabrahamsen.net, emacs-devel@gnu.org > From: martin rudalics > Date: Mon, 3 Jun 2019 11:11:29 +0200 > > > AFAICT, that section lists the functions affected by atomic windows, > > but doesn't tell what you said earlier: > > > >> 'quit-window' calls 'window-deletable-p' before it tries to delete a > >> window so it should never cause a "Root of atomic window is root > >> window of its frame" error. If it does cause an error we have a bug > >> so maybe check again. > >> > >> 'delete-window' OTOH will raise an error when the root of the atomic > >> window is the root of the frame. If you want to avoid that, typically > >> because most of your users who type C-x 0 expect the selected window > >> to disppear or those typing C-x 1 expect the selected window to become > >> the single window of its frame despite of atomicity, you will have to > >> adjust the behavior with the help of 'delete-window' and > >> 'delete-other-windows' parameters for all involved windows. > > I tried to add the according information now. If I should say more, > please tell me. LGTM, thanks.