|
From: | Stefan Monnier |
Subject: | Re: debugger with pop-up-frames non-nil: keeps creating new frames |
Date: | Sun, 05 Jun 2005 18:43:24 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> 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. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |