From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#27999: 26.0.50; delete-other-windows deletes side windows Date: Mon, 07 Aug 2017 15:17:54 -0600 Message-ID: <87d187m60t.fsf@lylat> References: <87h8xkezr2.fsf@lylat> <59881D1A.80908@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502140774 5368 195.159.176.226 (7 Aug 2017 21:19:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Aug 2017 21:19:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27999@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 07 23:19:18 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 1depQc-0000Oy-Tm for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Aug 2017 23:19:11 +0200 Original-Received: from localhost ([::1]:39607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1depQi-0006W7-S8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Aug 2017 17:19:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1depQY-0006VJ-UF for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:19:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1depQT-0003KI-Rv for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:19:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1depQT-0003Jy-On for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1depQT-0007B3-Jv for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Aug 2017 21:19:01 +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.150214070627544 (code B ref -1); Mon, 07 Aug 2017 21:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Aug 2017 21:18:26 +0000 Original-Received: from localhost ([127.0.0.1]:50811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1depPt-0007AC-RF for submit@debbugs.gnu.org; Mon, 07 Aug 2017 17:18:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1depPr-00079y-Qa for submit@debbugs.gnu.org; Mon, 07 Aug 2017 17:18:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1depPh-0002uM-Jo for submit@debbugs.gnu.org; Mon, 07 Aug 2017 17:18:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1depPh-0002tf-GU for submit@debbugs.gnu.org; Mon, 07 Aug 2017 17:18:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1depPc-0006LU-3x for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:18:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1depPW-0002p5-Rl for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:18:08 -0400 Original-Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:33729) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1depPW-0002ol-NP for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:18:02 -0400 Original-Received: by mail-io0-x232.google.com with SMTP id j32so7114302iod.0 for ; Mon, 07 Aug 2017 14:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=m+AjVygWGSTZytnuii15SSN2kcin8bQxfa/uc6ZTqi4=; b=uoI3RHEXI6HN7J1Fism5gWuvoq49poCG3OTvLEbLmJaLeV4dw8xYrTbnrhQ3aH+fAR 7QY7OTcWnHUq2LQ5mXOBRhIvTMXrLVl3c1el7CJObJLuYqUXJlUzSqIBPqhSOtRk4TAo giHWOEfjQ+Bip+e/GBlJZqISUgEcMWeGW503rhGV3MJN37hHmljkzZPZDIKelQpP1mKk J8D4KHsfQMJqXVxlvD/tTHoMrxhbafSHMj9v2qFCzmDtCvwusG6o0brrAPqS2GzBFuQ8 5FgWngZCYdqNHVywwOSU3uwrawB6qj7V460IOOKkkCGR9LYlk4orW6P1IZxpoCzZxdAP QkRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=m+AjVygWGSTZytnuii15SSN2kcin8bQxfa/uc6ZTqi4=; b=PLXxH01nweYiXYTuIA6ubHbhixuff+qjJkfXv+kYCP33euo8J16zsW2qhT4yOq7iGu dNo1AYbOF2as7i+b7BJQmImozYu8zPp5KAnSJpbyPtek/2VNUNy9FwzeYWVtCIW/b9VL xWNKkI82KDybj69iLe1TqXNJofQYeHn2kCPAJ+ok28pELnuKvq4Lv2TJflBfeujTRtg0 p9o0E1Wwxci/qpH8T6TfRHJ4cSN8L2g88lUtaeCHf5DeybKDW4etrMbtWxaHo9pDUyIs l47mO5E2hdQRIcYrzX/+eoQxXZEBZoIig+m89GyDmi5CRn7GGyPsLmlRu/u4qrRYMjE7 38JA== X-Gm-Message-State: AHYfb5gq/z8xuXnUS0ewmKhpBtBHeSxt6oWq1iTxOt94eZh+cZWw8/Zk gF5IePvaexsixPob X-Received: by 10.107.8.27 with SMTP id 27mr1726313ioi.225.1502140681781; Mon, 07 Aug 2017 14:18:01 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id p123sm14650ite.14.2017.08.07.14.17.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Aug 2017 14:18:00 -0700 (PDT) In-Reply-To: <59881D1A.80908@gmx.at> (martin rudalics's message of "Mon, 07 Aug 2017 09:56:10 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:135552 Archived-At: martin rudalics writes: >> I tested using the following: >> >> (display-buffer-in-side-window (get-buffer "*Messages*") '((side . >> left))) >> >> Executing "C-x 1" in Emacs 25.2 doesn't delete the *Messages* buffer, >> but in master it does. > > Please read Eli's complaints in the discussion of bug#24368 > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24368 > > to understand why I made the change. You now have to explicitly set the > 'no-delete-other-window' parameter of a side window in order to preserve > it from being deleted. This parameter works for any window, BTW. > > I forgot to fix the doc-string of =E2=80=98delete-other-windows=E2=80=99 = accordingly and > hopefully did that now. Please have a look. Thanks, that makes it clearer. 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 side windows, one could use 'window-toggle-side-windows' instead, right? 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 for the alist argument of 'display-buffer-in-side-window' that would inhibit window deletion either by delete-other-windows, delete-window, or both. 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. 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 way. P.S. I believe the =E2=80=98no-delete-other-window=E2=80=99 parameter shoul= d 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 tryi= ng to set the parameter.