On Tue, Dec 12, 2017 at 10:39 AM, Robert Weiner <rsw@gnu.org> wrote:
The doc string for select-window does not discuss the sometime need to also set input focus to the selected window's frame when one wants future input events to go there.  I would suggest adding this along with a reference to select-frame-set-input-focus.

Even better might be to add select-frame-window which would combine select-window and select-frame-set-input-focus for those times where you want to both select the frame and change its selected window.

​The same issue exists with save-selected-window except that it applies to the start selected window rather than a new one.  Another macro, save-selected-frame-window, would keep input from switching to another frame within its scope since this is not part of save-selected-window's behavior.

Bob