Subject: Re: bug#32825: 27.0.50; Deterministic window management

From: Juri Linkov <[email-masked]>
Date: Sat, 27 Oct 2018 23:14:59 +0300

>> In bug#32790 we discussed a possibility to use the display action
>> display-buffer-below-selected for the *Backtrace* buffer that will
>> predictably always display *Backtrace* below from the selected window.
>>
>> Maybe this makes sense as well?
>
> A lot of users may like this, but not all I think at least if you can't
> configure it away.  It's hard to tell how it feels unless you try it for
> a while.

It will be possible to configure it after adding the new action to the end:

diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 7fc2b41c70..dc5230b82a 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -239,7 +239,8 @@ debug
 	      (pop-to-buffer
 	       debugger-buffer
 	       `((display-buffer-reuse-window
-		  display-buffer-in-previous-window)
+		  display-buffer-in-previous-window
+		  display-buffer-below-selected)
 		 . (,(when (and (window-live-p debugger-previous-window)
 				(frame-visible-p
 				 (window-frame debugger-previous-window)))