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#32825: 27.0.50; Deterministic window management Date: Wed, 14 Nov 2018 09:33:42 +0100 Message-ID: <5BEBDDE6.1030701@gmx.at> References: <874leeaiah.fsf@mail.linkov.net> <5BDEB6BA.5000307@gmx.at> <87y3a8jz6v.fsf@mail.linkov.net> <5BE00EB1.6090107@gmx.at> <87sh0fxkih.fsf@mail.linkov.net> <5BE154F5.4050902@gmx.at> <87r2fxsvl5.fsf@mail.linkov.net> <5BE2AF02.40909@gmx.at> <87sh0cva5h.fsf@mail.linkov.net> <5BE3F981.8000002@gmx.at> <8736sbmdtv.fsf@mail.linkov.net> <5BE54FBE.306@gmx.at> <874lcqmu6u.fsf@web.de> <5BE582D4.8010201@gmx.at> <874lcok62x.fsf@mail.linkov.net> <5BE7EE09.3020003@gmx.at> <87pnvbpejc.fsf@mail.linkov.net> <5BE93DB5.8070804@gmx.at> <87wophvpag.fsf@mail.linkov.net> <87efbprc1h.fsf@mail.linkov.net> <5BEA9577.1080204@gmx.at> <87sh047dzh.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1542184339 8302 195.159.176.226 (14 Nov 2018 08:32:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2018 08:32:19 +0000 (UTC) Cc: Michael Heerdegen , 32825@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 14 09:32:14 2018 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 1gMqas-00024J-A0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Nov 2018 09:32:14 +0100 Original-Received: from localhost ([::1]:58891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMqcy-0001ni-DK for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Nov 2018 03:34:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMqch-0001lm-OO for bug-gnu-emacs@gnu.org; Wed, 14 Nov 2018 03:34:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMqcc-0000dq-OU for bug-gnu-emacs@gnu.org; Wed, 14 Nov 2018 03:34:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMqcc-0000di-LN for bug-gnu-emacs@gnu.org; Wed, 14 Nov 2018 03:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gMqcc-00013e-HK for bug-gnu-emacs@gnu.org; Wed, 14 Nov 2018 03:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Nov 2018 08:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32825-submit@debbugs.gnu.org id=B32825.15421844394050 (code B ref 32825); Wed, 14 Nov 2018 08:34:02 +0000 Original-Received: (at 32825) by debbugs.gnu.org; 14 Nov 2018 08:33:59 +0000 Original-Received: from localhost ([127.0.0.1]:50923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gMqcZ-00013G-6M for submit@debbugs.gnu.org; Wed, 14 Nov 2018 03:33:59 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:39759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gMqcY-000133-64 for 32825@debbugs.gnu.org; Wed, 14 Nov 2018 03:33:58 -0500 Original-Received: from [192.168.1.101] ([212.95.5.83]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MdKkd-1g4M862dRj-00IQLz; Wed, 14 Nov 2018 09:33:49 +0100 In-Reply-To: <87sh047dzh.fsf@mail.linkov.net> X-Provags-ID: V03:K1:pUgmQ3S9n6HohUHdkHe9pTlhBa4TUE1nRjggg/bkCHwtMcGmMYQ dcw+TraYYSIbJZDofnLZyvDNVpd0eANLu8aDP0HjZQKjYIkxtq8Lgl7hhFvDGgBNZLCZ43i 23cYDYT/Sy5xCVJn/lO0F/74WFUehAsrDtqNcOR7JD7m6JupGUjP12O2Ovwmo8vV4B0yEcl aAMYQJXRhhdMUipvanD0Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:tqD/tfegZm0=:NPaF7vjGinXf5e4hieZJP4 6aLLmrwV8sRJ2/EJqUqfobbekX8zymTYS3RzyPjNKd0JWPDEznnLlBjDu62o3g03eT73aZ5Kp X17VMUMzExYTDiwcGKOenjeN1cDrccXf7xyrZaHF0ODaUKDZbjTy2FncsyinZPps5xO30sIJ1 ajYW0zNcBUWThS4funFOObIXxqNv2fLH30oOw50xYaMcrFDn9McM3hJ6Aree3zj+LktLq7FU8 21c0xuAskQJcKQPX6IKwjKYTHHMgaVTmydB1WV99537Wjzs7BSLSCMpDQDOBVmhbZnJN2JPy7 GpTfqMIQo+OWN4iNbfOJdOxCy6np5U2MHIIgWTw6PTxb0DHmATE/qq7Jc5/jKzov2Ht2ibrmH abXEkPsxg/huLp9hGCRbZYjm0Aoz4b7Yi7qaJ1uI0+6L/Ip5OY1+TH0Sl9/1ciF9DHkzEAiyj LtO3E1xOUacXWZd6IC1trdjb4zMMr0a8q7Qcu1rDlUQZGWaws8XU6TSZOVw1Zk/QZQIrtSB60 eLnuosKsc67wet0PaeX1eOMb5mfeMeYJ9YqeJQSp6KbWdkjnlViDFgO+TqsNZrSfam6uctUwA vlOvGXRGk3KjcEnKHrv4nkSqLU3UjFlGzThiO0Q5W423W9B5l2ZlVFnPROHRTWToQyqF5PaVn sGGPYO/PK3cQPyXROcyWlNUWJlrZ5vw2AA8xHZrYdj9oeVYV6v3NRInHDsKSTSl5JKQw6/EGF 0GyrQmInxw+FzFkrEXd3T6E2l20XyCZl0+GL9cDj3j41sty8A3LV+r05mi5SSnfJoAqSBJrD 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:152372 Archived-At: >> (defcustom switch-to-prev-buffer-skip-regexp >> "\\*Backtrace\\*\\|TAGS" > > Sorry, this list looks too ad-hoc. And why there is no *Edebug Backtrace*? > *Edebug Backtrace* should be treated exactly the same way as > *Backtrace*, but in practice this means adding a whole bunch > of same variables > > debugger-previous-window > debugger-pre-previous-window > debugger-previous-window-height > ... > > to edebug.el > > edebugger-previous-window > edebugger-pre-previous-window > edebugger-previous-window-height > ... > > and duplicating all related code. This doesn't look right. > > I think that either we should generalize display-buffer-in-previous-window > to avoid such duplication, or better never display temporary buffers > in unrelated windows at all, i.e. to replace display-buffer-in-previous-window > in the action list with display-buffer-below-selected and > display-buffer-at-bottom. Pardon me, aren't you confusing 'display-buffer-in-previous-window' with 'switch-to-prev-buffer' here? The change I propose doesn't affect 'display-buffer-in-previous-window' at all. It simply should avoid that 'switch-to-prev-buffer' shows such a buffer. Also, while 'display-buffer-below-selected' and 'display-buffer-at-bottom' usually do what they are intended to do they may also reuse an existing window when splitting fails. > This is exactly what we already do for displaying other temporary > buffers like *Marked Files*, *Completions*, etc. FWIW most of these are killed immediately after fulfilling their purpose. Setting 'debugger-bury-or-kill' to 'kill' would do the same. martin