From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#27999: 26.0.50; delete-other-windows deletes side windows Date: Wed, 09 Aug 2017 12:02:42 +0200 Message-ID: <598ADDC2.8010903@gmx.at> References: <87h8xkezr2.fsf@lylat> <59881D1A.80908@gmx.at> <87d187m60t.fsf@lylat> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502273053 27277 195.159.176.226 (9 Aug 2017 10:04:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2017 10:04:13 +0000 (UTC) Cc: 27999@debbugs.gnu.org To: Alex Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 09 12:04:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfNqP-0006jL-KB for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Aug 2017 12:04:05 +0200 Original-Received: from localhost ([::1]:46580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfNqW-0002g6-2C for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Aug 2017 06:04:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfNqP-0002fn-Q0 for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 06:04:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfNqM-0003TU-FO for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 06:04:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfNqM-0003TQ-Bb for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 06:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dfNqM-0002EC-3U for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 06:04: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: Wed, 09 Aug 2017 10:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27999 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15022729938506 (code B ref -1); Wed, 09 Aug 2017 10:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Aug 2017 10:03:13 +0000 Original-Received: from localhost ([127.0.0.1]:52673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfNpZ-0002D8-20 for submit@debbugs.gnu.org; Wed, 09 Aug 2017 06:03:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfNpX-0002Cw-Pf for submit@debbugs.gnu.org; Wed, 09 Aug 2017 06:03:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfNpR-000339-9V for submit@debbugs.gnu.org; Wed, 09 Aug 2017 06:03:06 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dfNpR-000335-7D for submit@debbugs.gnu.org; Wed, 09 Aug 2017 06:03:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfNpP-0002dQ-QG for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 06:03:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfNpJ-00031R-5X for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 06:03:00 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:63675) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfNpI-00030k-P1 for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2017 06:02:57 -0400 Original-Received: from [192.168.1.100] ([213.162.68.238]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MCOdh-1doUVp1tgX-009CMK; Wed, 09 Aug 2017 12:02:52 +0200 In-Reply-To: <87d187m60t.fsf@lylat> X-Provags-ID: V03:K0:34NWgRiKV8pVeiesIkUJyGsdoRmwkSYeHt7TZ6LAUCRwnj7ChC5 W9y5Kaonb2j1O7MnB45x6sKwZXT2kgfpROsPo3sP16LlsxVrf13wtPWXra3T09egw/H7i+w 68TPPuhN+TDzuu56O52q8JXfitVW7sSTP/N3nDB064ttbdhpnCDWgrFeYMkdgXmljZJxpsl o91Dm9wzQoU5jcZqGGvJw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ofeIsUpb1pI=:SZlVPZGSSst66Z3xEqqzBe 2xNePxP6J5aLLjME4F0v0FnYC1MlWDvkh8FR7d5WtdUCdG58LkjVrZHVOoqT3RiW9WOWfzQfO wp5bVJd3+FIMp9lzpHUEJwe6IrC5dHj+d2Q1jecCYgXKqmPK/QgC7jjL+zxU7hNCQqvZmjojt 99MwpDiRFalvK1iofidmjkJBudJxnePKnVuNUHbj9rIrjkdCHXCghW7MAFQhdJKMgQa/xYlCP YbA5yJ+od9bp53cnLXjILymRSOTUCbxvei6TXvu3Ovry+1Ij7oZRp0BI8nl+DbnyLLWU4yUkN EAh4J+6/xUojNH4pzIAXVC7FIt7ydVv9kqYB/lpi9EFkftji6/FW1y/5jiV38P/30Qss2ny2w 0KFxECjHdyXh+n/8jVESAcoXhZmqEDJCePfCuZc+84RqSKUdk+pW1OFfoNZCtqEWTWDWEKswu M8RdxPEhmR9qFoQAJVvTMaabxVgq/RJyu+UxsrKVaVD1Gu1y5gXSzE8ODt8eu4VA1FSyn6BuN 29slH5pYbE5jMpQTDCvXIN1Dzt+mP7AV3vRt4fEqAgve8JKBwmqktih/5EtnIWV/DTc1iPA8K UH/C5Bbc1+1V6q5KTZf6cRlPQxIhxVxYGFAH+CY/yvzLrs9Gdar15rPGV04hxvRQ3tHq45cQs fs6I6tL/ffLyOEANvZt+clnFCwNjaLtpAMTbz8CdyyIkF9u8iTye2x0Ywsj9vs0F6gTUYD3VA s7IbB74jeSYXhZDz7awWq3XGwPgCeDUSoANT6qyZOYc2/8Kre5mdHCoZVKxNsxRUZZZ7DosY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135594 Archived-At: > I figure that for side windows, it would be more common to want the > previous behaviour than not. Since if someone wanted to remove all sid= e > windows, one could use 'window-toggle-side-windows' instead, right? Right. But IIUC some people wanted side windows for the single purpose to display a buffer on a chosen side of the frame. Once created, they want the window to behave like any other ordinary window. They don't get that because a side window cannot be made the single window of its frame, cannot be split and the like. Still ... > In any case, it would be nice to have a better interface for enabling > (or disabling) this behaviour, rather than using 'set-window-parameter= '. > > I'd like to suggest an additional (preferably terse) special symbol fo= r > the alist argument of 'display-buffer-in-side-window' that would inhib= it > window deletion either by delete-other-windows, delete-window, or both= =2E Then we should probably care about the =E2=80=98no-other-window=E2=80=99 = parameter as well. BTW, a =E2=80=98no-delete-window=E2=80=99 parameter doesn't exist = yet - we would have to add it first. Currently, you have to set the =E2=80=98delete-win= dow=E2=80=99 parameter of the window to 'ignore. Also note that in general it's easier to just add a parameter than to first have one added and remove it afterwards. There is an example in the Elisp manual section 28.19.3 Frame Layouts with Side Windows. Could you read it first, tell me what is not clear or clumsy to use. Then we could possibly come up with a better solution. > The procedure mentions "a =E2=80=98window-parameter=E2=80=99 entry in = ALIST", but it > doesn't mention the form it should be in. The doc-string of =E2=80=98display-buffer=E2=80=99 describes it as =E2=80=98window-parameters=E2=80=99 -- Value specifies an alist of wind= ow parameters to give the chosen window. > I tried a few obvious forms, > but none were applied. In any case, I believe it's still too > inconvenient to list out the relevant parameters explicitly in this wa= y. This should be improved since window parameters should be easily specifiable in a =E2=80=98display-buffer=E2=80=99 alist not only for side= windows. Please make a suggestion. > P.S. I believe the =E2=80=98no-delete-other-window=E2=80=99 parameter = should instead be > =E2=80=98no-delete-other-windows=E2=80=99, to match the plurality of > =E2=80=98delete-other-windows=E2=80=99. I made that mistake when first= trying to set the > parameter. Suppose we added a =E2=80=98no-delete-window=E2=80=99 parameter: Its sema= ntics would probably be to not delete this window. Then a =E2=80=98no-delete-other-w= indows=E2=80=99 parameter's semantics would be to not delete any other windows when invoked with this window selected. That's why I chose the term without the "s". Arguably, this reasoning is broken by the =E2=80=98no-other-win= dow=E2=80=99 parameter ... martin