GNU bug report logs -
#19468
25.0.50; UI inconveniences with M-.
Previous Next
Reported by: Eli Zaretskii <eliz <at> gnu.org>
Date: Mon, 29 Dec 2014 20:27:02 UTC
Severity: normal
Found in version 25.0.50
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> 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
This bug report was last modified 9 years and 150 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.