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: Michael Heerdegen
Subject: bug#8789: 23.3; debug backtrace buffer changes window on step-through
Date: Thu, 09 Feb 2012 06:31:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

Hello,

I don't know why this problem doesn't get fixed.  It is an annoying
problem, and a fix need not to be complicated - on the contrary.
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*.


Michael.





reply via email to

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