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

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

RE: debugger with pop-up-frames non-nil: keeps creating new frames


From: Drew Adams
Subject: RE: debugger with pop-up-frames non-nil: keeps creating new frames
Date: Mon, 6 Jun 2005 09:35:49 -0700

    > 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





reply via email to

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