martin rudalics writes: > > On my machine this switches to tst.c on top of the gud buffer, replacing > > gud in its window. With the attached patch this does not happen. > > > > This is similar, but not identical to bug > > > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17675 > > > > The proposed fix in that bug does not handle the above recipe. > > Would your fix handle Bug#17675 as well? And maybe some of the related > bugs in this area (see Bug#19901, for a recent example)? Hi. The patch fixes 17676. 19901 is a slightly different problem, and the attached patch fixes that as well. > There also was a proposal to only "softly" dedicate some gud window to > its buffer. See the thread entitled "Use of dedicated windows in > gdb-mi.el". I'm not concerned about gdb-mi here; just the old-style gud. I've seen the new display-buffer behavior similarly affect the behavior of some other things, like xcscope.el for instance (I'll handle that once this change is OKed). I feel like the attached patch is the default behavior I want most of the time, but this is probably different for each user. Thanks