bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8789: 23.3; debug backtrace buffer changes window on step-through


From: martin rudalics
Subject: bug#8789: 23.3; debug backtrace buffer changes window on step-through
Date: Thu, 09 Feb 2012 19:24:44 +0100

> It should IMHO be sufficient to add to the
>
>   (pop-to-buffer debugger-buffer)
>
> call in `debug' an action argument that ensures that always the same
> window is chosen, by an deterministic algorithm.  For example:
>
>   (pop-to-buffer debugger-buffer
>      '((lambda (buffer _)
>          (let ((first-win (frame-first-window)))
>            (select-window first-win)
>            (switch-to-buffer buffer)
>            first-win))))
>
> would always choose the first window for *Backtrace*.

Have you tried adding an according rule to `display-buffer-alist'?

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]