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: Robert Weiner
Subject: Re: Suggestion: Add discussion of input focus handling to select-window; add select-frame-window
Date: Sat, 16 Dec 2017 12:04:03 -0500

On Sat, Dec 16, 2017 at 11:29 AM, Eli Zaretskii <address@hidden> wrote:

> ​I still think this is a clear and modest proposal.  select-window already
> mentions frames so I don't see an issue with cross-referencing more frame-related
> behavior to make the needs clear with one additional sentence.  Are you guys
> still against this given the further explanations?

Yes.  You are proposing to add text about a completely unrelated
aspect of Emacs.  Selecting a window has nothing to do with focus

​The main question I am trying to address is how to tell an Elisp programmer
how to redirect user input to an arbitrary window.  Whether or not we have
a specific name for this redirection, where user input goes changes when
select-window is called within the selected frame.  So there is input focus
which is frame-related but there is also window-related input redirection.
My argument is that there needs to be one place to look to understand
that.

Maybe select-window is not the place, it just seems that programmers focused on
handling windows would naturally look there.

How and where would you explain this?  Can you explain how to do it in a few
sentences?  If yes, then let's add it somewhere and make it easy to find.
If not, then maybe a simplifying function would be justified.

I read through parts of the Elisp manual.  The section on Windows does not explain
how to redirect user input ot an arbitrary window.  The top-level on Frames does
not either.  It is not until I get to the section on Input Focus that I get any
helpful information on this and that section refers only to frames, not selected
windows.

So my thought is that where interactive user input goes is broader than input focus,
is connected to what window is selected, and should be explained in one place in
a succinct manner that is easily findable when looking up windows or frames.

Bob






reply via email to

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