From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] Brief v5.90: neighboring window merge on deletion Date: Sun, 24 Mar 2024 10:54:37 +0100 Message-ID: References: <86il1cvp7o.fsf@mail.linkov.net> 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="16204"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Emacs developers To: =?UTF-8?B?6Lev5a6i?= , Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 24 10:55:45 2024 Return-path: Envelope-to: ged-emacs-devel@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 1roKZt-00043u-2Q for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Mar 2024 10:55:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roKYw-0000ZR-CM; Sun, 24 Mar 2024 05:54: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 1roKYu-0000Z2-1T for emacs-devel@gnu.org; Sun, 24 Mar 2024 05:54:44 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roKYs-0000TZ-57 for emacs-devel@gnu.org; Sun, 24 Mar 2024 05:54:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1711274078; x=1711878878; i=rudalics@gmx.at; bh=O2cEshSeCe+mIXb9Uu90JpCzSwJGXrlpEvmcjTZGwWM=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=QM6LBP4tC7p1zlXd0DTDg+E848AANe+Y7EriZQfJPpXWgD3QgqTimNH/g/oJ54Sq lISFAtkvNZEnTTB3kJ2AGniMtMbb9brx8ue1TBdjIz01bSt9AwTvT2ZImr9IyOfFv 4S0HUhx5B4OAINZ1YZGDp0oaVH/43EVQzqkpm8jRSHCxhINNfuK8BG/xj44CFCEw1 ZRiWc+Hp76AfpFRhU3dKsz7vLXdNGxkulPtL2XYjMMCQtOU4ctHjgUno7W2QDKkyI r7r5zxs2w4wd3lhGvFjPFMjSBDep9RpR24vBytVQeJv7ZDg5tgHqqzhOqQnYRMJTi ir47khWMckr31KBPYg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([46.125.249.63]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mo6qp-1qyiOb17uN-00pasT; Sun, 24 Mar 2024 10:54:38 +0100 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:sJRTMcvCbjMrxYps5KQZhAtRhOdHG3Nvake0HZ1ZNBxma6AQmcB JSt1A85h2mtg2Gei5izenJdjqyQlhWmN1tDb5T0A8KTrQ0k7AwmIY3bWPNkCefCRrffqSQF 5MeGFKyo+gRnojU/YgFCbUIqWFaGLyYmlsZxJ+Jyh32dvQdTmTcJO5DWA+OOVBAztsEiDem +FAmNQLoAvsGA0KuJnCeA== UI-OutboundReport: notjunk:1;M01:P0:Umj37ntR4+g=;VYT6uorsXdBfO3+0vKKTnqrgXEL w9t5ytQDi+hl1IUWqzqqSi8COpR4xTv1yI/jv8b+VslJYwTmcp5lJqo3OBv5KeZ7unifIvSD0 52XMHPN3Ol9pd/Yz12dIALkA9uppGAiNpDBmpZntzzaO0VJtACNVF/QVtFcJt8l+KxqMmSoHr 9TMpebTBp0K5xI6VeLKGV7nKNui9R0MrxxrJyeufBGg2GBIqIwjeGgGpV7iykp5kiQ7UfTQD8 pjWtfRQoonJl3AQgbLRJ1GXbtVNuouGQnL6fBjNu7w8BzYTn/SseQcd0O5KqZOvJVzTPyq9FV qrXDxydUFv/wkHOXfG4grGSaSLAMUkYcyxVKn8sx5onyM4ngSsQhWGHyUceLmR3fZzIMEsxmY fa6KcauXe6Zd9K0epxcAJ7Y/E4CGa/R8ZHNUHDQOZu1Wm6Eldaif9KXIGbHoTIh8aGCH4hx8m wuQcHve+mACU4xMlY+FmbJq+DqQ06XofzsiwmsauNRLpNEtY5A3ny/u4CXxJ81Rif4UQsmeKj sAGN/tjU+FnXk5J1VARRXNqmecE4/coy3WUFXPP69cpHxCLco/GGpr66+gGyg4UOw9YnBLKYj Z5Bu+hMAw6p30hmBppY9kz4ctjKlMcmhPvmemHiSOZSwwH0FtmRCDiiU34Z5XV4of1q00lSKz wjvdnOKrnVy2tWKQ8UnqxthX4FYcaVQZmfGX74mhrkADDoUToELfozfOjVrLH7LSJ2OvY2WhN aEodEQLgcqt1m5dC5qOzE+bPwv44jX/2AFyBWiBIqsqKAmVEbRouGfFrw2rkM7D0u1Ar4L7C Received-SPF: pass client-ip=212.227.17.20; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317259 Archived-At: > Now if we use Brief ` ' command from the `S' (`S'elected) > window to delete the `T' (`T'arget) window, it will reconstruct the > windows by deleting all the windows keeping only `S', then re-split > the frame by first split horizontally the window, then reconstruct > the bottom two windows achieving the desired layout: > _____ > |_S___| > |__|__| > > This reconstruction happens instantaneously so it's almost not > noticeable to users unless on slow terminals. Sometimes in X windows > the affected window boundary might shift a little if the original layout > is complicated or is 1-character in width/height difference between > `S' and `T' (my default 1-character tolerance setting). Your reconstruction kills all previously live windows but 'S' and produces new ones. This means that buffer overlays with a 'window' property will not work correctly in any of the new ones. Moreover, if such windows were stored in Lisp variables, they would be considered dead although they apparently still exist like the ones in the lower part of your frame. > This also explains why the following `circular' layout is not possible > as we can't find a split line either vertically or horizontally. > ______ > |____| | > | |__|_| > |_|____| Emacs frames are guillotine-patterns. Each window split corresponds to a non-intersecting guillotine-cut of the parent window. martin