emacs-devel
[Top][All Lists]
Advanced

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

Re: Suggestion: Add discussion of input focus handling to select-window;


From: Stefan Monnier
Subject: Re: Suggestion: Add discussion of input focus handling to select-window; add select-frame-window
Date: Tue, 12 Dec 2017 15:40:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> ​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.

You mean some kind of `save-frame-focus` macro (tho that name itself
can be confusing since it seems to refer to `frame-focus` which is yet
another kettle of fish)?

"Manually" changing focus should be something done very rarely in Elisp,
so why/when would you need to use something like `save-frame-focus`?


        Stefan




reply via email to

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