> Does this give good results?

    Please don't install such a workaround.  The problem is much
    more pervasive
    than just debug.el and is trivially fixed by setting
    display-buffer-reuse-frames to t.

    > !                 (if (and debugger-window
    > !                          (window-live-p debugger-window))
    > !                     (progn
    > !                       (set-window-buffer debugger-window
    debugger-buffer)
    > !                       (select-window debugger-window))
    > !                   (pop-to-buffer debugger-buffer))
    > !                 (setq debugger-window (selected-window))

    If the window is displayed on another display this will not do what
    you want.  Also if it's displayed in an iconified frame this
    will fail to
    de-iconify the frame...
    pop-to-buffer is the right thing to do here and if it doesn't do what we
    want, we should fix pop-to-buffer rather than add a hack around
    its call.

FYI - I haven't tried the fix, because of Stefan's comment about the problem
being more pervasive.

However, as I mentioned in a separate email, it is not true (in my version)
that the problem is fixed by setting display-buffer-reuse-frames to t.

 - Drew



_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to