|
From: | Juri Linkov |
Subject: | bug#47300: delete-window to select window with same position |
Date: | Sun, 23 May 2021 00:25:41 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> No. You probably have to save the old position of the deleted window's >> point in frame coordinates and have the function that selects the new >> window use the window that is now at that frame position. > > Just to explain what I meant above look at the attached patch. I think > we should then move the `get-mru-window' call to `delete-window' too and > combine them all with the 'no-other-window' check so we never select a > window with NORECORD nil twice here. > > [2. text/x-patch; window.el.diff]... I don't know why, but sometimes `window-at' returns 'nil'.
[Prev in Thread] | Current Thread | [Next in Thread] |