[Top][All Lists]

[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: Fri, 17 Jun 2005 09:36:35 -0700

Hi Stefan,

I finally got a chance to check your latest fix to debug.el.

It works fine for `c' not at the top level: in the middle of debugging it
does not iconify or remove or flash the frame. Thanks.

For `q', however, and for `c' at the top level, it still iconifies the

        The current code should not do either of them "in the middle of
        using it" any more.


    If that's fixed, then the only question is how to treat `q' and
    `c' (at top level). You like iconification of the empty frame,
    to keep the size&position. I like deletion of the frame, to not
    have an empty iconified frame hanging around. If invisibility
    worked well, that would be a solution that satisfied both of
    us, I believe.

Did you provide some way for users to get a different behavior from `q' and
`c' at top level, besides iconifying?

I notice the new variable `debugger-step-after-exit' - I tried changing its
value to `t', but I noticed no change in behavior. What is this supposed to
do? I can't tell from the doc string, and I saw no change in behavior. The
doc string is confusing, I think: how can the debugger single-step after it
has exited? This should be explained in user terms, and we agreed that from
a user POV the debugger doesn't ever "exit" with `c' or `d'.

I replaced `(bury-buffer)' by `(quit-window)' in function `debug', and it
works perfectly for me. Would you consider making that change? It might work
for you too, since `quit-window' does bury-buffer and only deletes the frame
if the window is dedicated. But I guess you want to iconify if the window is
dedicated, right? Is there not some way to use `quit-window' so that both of
us are satisfied? It is a fairly flexible function, with different options.
Could you at least take a look at it?

Otherwise, I will just have to redefine `debug' for my own use, replacing
`(bury-buffer)' by `(quit-window)' - seems a shame. There must be a simple
way to allow both possibilities: iconify and delete frame.



reply via email to

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