[Top][All Lists]

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

Re: Use of dedicated windows in gdb-mi.el

From: Stefan Monnier
Subject: Re: Use of dedicated windows in gdb-mi.el
Date: Mon, 09 Feb 2015 09:29:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> From what I understand, this work-around is an illustration of the
> point, rather than a solution: when someone presses C-x b, they want
> to change the buffer displayed in the current window.  They do not
> want to have to switch to  another window/frame before that, and they
> do not want to see the desired  buffer appear in a random window.

I introduced "softly dedicated" windows for that kind of situation:
a "softly dedicated" window would not be chosen normally when Elisp code
wants to display some buffer somewhere, but if the user does `C-x b'
then the "soft dedication" gets overruled.

I know Martin doesn't like this concept, but in any case, if we could
try and arrange for gdb-mi to mark its windows as softly dedicated,
I think it would solve your use case.


reply via email to

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