From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Understanding atomic window groups Date: Mon, 3 Jun 2019 11:13:09 +0200 Message-ID: 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> <87lfyucxfx.fsf@ericabrahamsen.net> <878suuctcc.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="228385"; mail-complaints-to="usenet@blaine.gmane.org" To: Eric Abrahamsen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 03 11:28:03 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 1hXjG5-000xDN-Fr for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2019 11:28:01 +0200 Original-Received: from localhost ([127.0.0.1]:60355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXjG4-0004OB-Df for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2019 05:28:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXj21-00026a-6q for emacs-devel@gnu.org; Mon, 03 Jun 2019 05:13:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXj1z-00037R-AV for emacs-devel@gnu.org; Mon, 03 Jun 2019 05:13:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:43901) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXj1t-0002nR-Im for emacs-devel@gnu.org; Mon, 03 Jun 2019 05:13:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1559553187; bh=UK0RTtqgt6qxxcR//nJMI4+easnKeZG9N80oYUu5hP0=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=M7mDMjqZtriQ1RBRWaeSZ8zqoDnhL2lJPVG4iwGYXx/KKQiu4X3mUhi/t5DfOuNHU u9Pk+1uy+GaYS9f+aZA4sTzQH0Ujnp8TVc2RdsLo0qHfCpwFGLv7Cr3wbXC+oD8c6u GClQQquoegu7LSaSALgHGtO3ul2AQ8wK+x19Ahu4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.250.62]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1McH9i-1gzUfm3tS0-00cdba; Mon, 03 Jun 2019 11:13:07 +0200 In-Reply-To: <878suuctcc.fsf@ericabrahamsen.net> Content-Language: de-DE X-Provags-ID: V03:K1:srgFF5UayNQAqKWiJj7gg8xevl/JqdPofoGz/0mC29dJ29vbkwx Bzus7v5vTGahyKXAETfP/Wx2iW65RhS0qW017u8wqmsSQjqXZqyN2xJCqAoDGQtZg0wAscz bSQNyRhqIr+gw6TARTt7gtwXnPVjeKmIEb6Shhtpg+OTz6fAhjjcJ3nDqwEHowUh59FwIIq XsV6xMOnN5oRPpsFDU5TQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:BcggsAXyXcA=:FmxvE5RnY8lAqZCunydEpg gRdwc0MVboDVZb5DG6pYAsmgJnr+uA7kKZtdVZSUnLrtK/g3QwlDZ21o5I2fGGmsM4NUnn9g7 7rI5B9wGDfT/joQPHcnQdGJXMxwZpjvJrBx0hQQI35e29dnq3Lse6qvp6X2UHyl4xIx3SGqC/ nwV909PLWz1A5QBMFQIZ+BW/GgUQ15Ukjc7jfLhdj3HJni61CqMS7cAAmwVsMACBVmKOAJSSJ bzLI0CIwwqrf0QEjPw94NUIZsqJxDg4XKYZnxKyQ7bFCMNZKjeR4OmpNwmxybOxlLhYrVSI7L DFBzagD4HhhnHai6LMcQw8Fgy8P3elYcBQrPHze57FJcHOdbE7Ibpj3nGzyv+8vEDvzPgOIz5 IHt/Aycr2U0XhjAFwlaKx0u5aUOUsg2PlhljGAqTmaVW3OuyLgRLcnu1KcDjh0JifJ7wqZpUF i5GOPbRrjGYHT56GnPm8mXoObpBt8IEJiJSCGS3qb4JO6XbquGqjBYbbrM1mkamOFFSEVSWfm haf4+PNfALdYUWiF7LfCjRKoQE28afiL27RP0z+3UoCMVXssrp65+D41qYWO2vo7MgaWz2iFE guaxHRX0W5pZ7Yd/tkZbnstAQWuvw+9RrOsOHomQBL9EtqiE3Zp7iKCGzHakmtfOqjwYXFWNl s2PHHjO7wpJMV7jO1ViSAzdeqRjCugFkITTRd1I5MEqy/D9K7UblsHvZUWOPTwqXHpeB6hbZL HTle7QQQWgMYImnwWiN/Q2Kq64uOspLxVw4m22clZJBljSfKUq2aIWe0bv2wnwWPvbEMkTW7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 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:237214 Archived-At: > For instance! Side windows have `window-toggle-side-windows', maybe we > could have something similar for atomic windows? 'window-toggle-side-windows' was a specific wish of people of the people who wanted an IDE-like environment. As for atomic windows do you mean something like "make an atomic window occupy the main window of its frame" and restore the remaining windows when toggling again? >> I've had it in the back of my mind to try replacing Gnus' homemade >> windowing functionality with side windows, because they do pretty much >> the same thing, but I'm not sure where to start. > > Just to extend this hypothetical: > > Gnus configures its various window layouts in > `gnus-buffer-configuration', an assoc list where each element looks > like: > > (article > (horizontal 1.0 > (vertical 0.5 > (group 1.0)) > (vertical 1.0 > (summary 0.25 point) > (article 1.0)))) > > This configuration is selected using 'article as a key -- > (gnus-configure-windows 'article) -- the rest of it is arbitrarily > nested instructions about how to split the various buffer and how big > the splits should be. I'd need more information of the type what kind of windows you want to show and how they should be laid out on a frame. The basic idea of side windows was that there are main windows where the user is editing and side windows where additional information is shown. How would that relate to gnus? > As a lazy developer, I'd like to be able to pull apart the setting > above, find the window with 'point and make that the "main window", and > use the rest of the information to issue a series of (probably) > `display-buffer-in-side-window' calls that put the rest of the windows > in place. It would be particularly nice if we could stick an 'atomic key > in the above setting, and have the resulting side window assembly be > atomic. Again I would have to know the character of the "rest of the windows". Are they meant for editing? martin