From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel 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 Message-ID: References: <5A30E9AF.2060105@gmx.at> <5A317FAA.3090209@gmx.at> <83d13iv095.fsf@gnu.org> <83bmj2ugok.fsf@gnu.org> <834loqskkw.fsf@gnu.org> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114f424278d3880560781c89" X-Trace: blaine.gmane.org 1513443928 17085 195.159.176.226 (16 Dec 2017 17:05:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2017 17:05:28 +0000 (UTC) Cc: martin rudalics , Stefan Monnier , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 16 18:05:24 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQFts-0003vo-2x for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2017 18:05:24 +0100 Original-Received: from localhost ([::1]:51371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQFtx-0006ms-Mn for ged-emacs-devel@m.gmane.org; Sat, 16 Dec 2017 12:05:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQFt8-0006ln-Lz for emacs-devel@gnu.org; Sat, 16 Dec 2017 12:04:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQFt4-0003ym-Nn for emacs-devel@gnu.org; Sat, 16 Dec 2017 12:04:38 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQFt4-0003yg-LH for emacs-devel@gnu.org; Sat, 16 Dec 2017 12:04:34 -0500 Original-Received: from mail-qk0-f181.google.com ([209.85.220.181]:44615) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1eQFt4-0001Is-6j; Sat, 16 Dec 2017 12:04:34 -0500 Original-Received: by mail-qk0-f181.google.com with SMTP id h19so13932427qkj.11; Sat, 16 Dec 2017 09:04:34 -0800 (PST) X-Gm-Message-State: AKGB3mLcc7rW4lVjQI4zIw52OIxK26NsYj9VDz0prTEAeUZMG0EZRdmu qBXv26ob30lqua6w52WjbH9WGJhOqRBeimPuMYA= X-Google-Smtp-Source: ACJfBotFfkdmwqg3q+1JKdWu44u/3o3QLf7huCNYNFBuY9wgKLp9JxYkCfCnJKxw8Hlszg83ojhiz1B14Rv6Xc+IJbY= X-Received: by 10.55.44.70 with SMTP id s67mr7671417qkh.57.1513443873574; Sat, 16 Dec 2017 09:04:33 -0800 (PST) Original-Received: by 10.200.55.124 with HTTP; Sat, 16 Dec 2017 09:04:03 -0800 (PST) In-Reply-To: <834loqskkw.fsf@gnu.org> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221136 Archived-At: --001a114f424278d3880560781c89 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Dec 16, 2017 at 11:29 AM, Eli Zaretskii wrote: > > > =E2=80=8BI still think this is a clear and modest proposal. select-win= dow > 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 =E2=80=8BThe main question I am trying to address is how to tell an Elisp p= rogrammer 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 fe= w 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 --001a114f424278d3880560781c89 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Dec 16, 2= 017 at 11:29 AM, Eli Zaretskii <e= liz@gnu.org> wro= te:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
> =E2=80=8BI still think this is a clear and modest proposal.=C2=A0 sele= ct-window already
> mentions frames so I don't see an issue with cross-referencing mor= e frame-related
> behavior to make the needs clear with one additional sentence.=C2=A0 A= re you guys
> still against this given the further explanations?

Yes.=C2=A0 You are proposing to add text about a completely unrelate= d
aspect of Emacs.=C2=A0 Selecting a window has nothing to do with focus

=E2=80=8BThe main question I am trying to address i= s how to tell an Elisp programmer
how to redirect user input to an arbit= rary window.=C2=A0 Whether or not we have
a specific name for this redirec= tion, where user input goes changes when
select-window is called within th= e selected frame.=C2=A0 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-w= indow is not the place, it just seems that programmers focused on
handling= windows would naturally look there.

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

I read through parts= of the Elisp manual.=C2=A0 The section on Windows does not explain
how to= redirect user input ot an arbitrary window.=C2=A0 The top-level on Frames = does
not either.=C2=A0 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 t= o frames, not selected
windows.

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

Bob




--001a114f424278d3880560781c89--