[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19468: 25.0.50; UI inconveniences with M-.
From: |
martin rudalics |
Subject: |
bug#19468: 25.0.50; UI inconveniences with M-. |
Date: |
Sun, 04 Jan 2015 09:55:30 +0100 |
>> My suggestion would be to stay away from window management as much as you
>> can because it's very difficult to get it right.
>
> I agree it can be a minefield, so if anyone sees a case that's particularly
difficult to handle this way, please let me know.
>
>> q followed by M-, usually brings back the original window configuration.
If and only if the selected window is the only window that changed. The
idea of `quit-window' is to undo only changes made for this particular
window. It should _never_ undo changes made to the rest of the window
configuration.
> Only it doesn't exactly work that way if there are more than two windows, because we
open the xrefs' buffers in the "other window" in reference to the *xrefs* window,
and that's not the original window.
You could try to bind "q" to a function that invokes `quit-window' for
both windows (preferably in inverse order of how they were made).
martin