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: Tue, 12 Dec 2017 16:19:09 -0500 Message-ID: References: Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e0822a4bc6dd22a05602b356f" X-Trace: blaine.gmane.org 1513113717 12914 195.159.176.226 (12 Dec 2017 21:21:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 21:21:57 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 22:21:54 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 1eOrzt-0003CW-NS for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 22:21:53 +0100 Original-Received: from localhost ([::1]:60576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOs01-0004lK-0m for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 16:22:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOrxp-0003YI-O6 for emacs-devel@gnu.org; Tue, 12 Dec 2017 16:19:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOrxk-00068f-Q3 for emacs-devel@gnu.org; Tue, 12 Dec 2017 16:19:45 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOrxk-00068N-NS for emacs-devel@gnu.org; Tue, 12 Dec 2017 16:19:40 -0500 Original-Received: from mail-qt0-f182.google.com ([209.85.216.182]:33397) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1eOrxk-00080b-BD for emacs-devel@gnu.org; Tue, 12 Dec 2017 16:19:40 -0500 Original-Received: by mail-qt0-f182.google.com with SMTP id e2so775862qti.0 for ; Tue, 12 Dec 2017 13:19:40 -0800 (PST) X-Gm-Message-State: AKGB3mIM3N2Lt/K6IbRab1kajNs7UR77ajDfZqdFaehDlrytvyT+IieS Qq+eUSHJZZmHRaztDW2nQT4Od0aLOkfj3MPy21A= X-Google-Smtp-Source: ACJfBoty3V0tvSYrolnOwDGTvOfMNejmg2Um+qjG35pxDt3FWVz+HPfHenL5mN90+lQcvAHNhbhh3+e4yHc2O0qgjyQ= X-Received: by 10.200.10.75 with SMTP id f11mr7156184qti.272.1513113579801; Tue, 12 Dec 2017 13:19:39 -0800 (PST) Original-Received: by 10.200.55.124 with HTTP; Tue, 12 Dec 2017 13:19:09 -0800 (PST) In-Reply-To: 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:220963 Archived-At: --089e0822a4bc6dd22a05602b356f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Dec 12, 2017 at 3:37 PM, Stefan Monnier wrote: > > So if you want a function which modifies focus, it should not be called > select-frame-window: it needs to have "focus" in its name. > =E2=80=8BSimilarly, the doc for select-frame should include something on how to change input focus. It mentions input focus but doesn't say how to affect it. Sounds like we would need to call this new function: select-window-set-input-focus which would parallel select-frame-set-input-focus nicely. Bob --089e0822a4bc6dd22a05602b356f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Dec 12, 2= 017 at 3:37 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

So if you want a function which modifies focus, it should not be called
select-frame-window: it needs to have "focus" in its name.

=E2=80=8BSimilarly, the doc for select-frame should in= clude something
on how to change input focus. It mentions input focus but<= /div>
doesn't say how to affect it.

Sounds like we would need to cal= l this new function:

=C2=A0 =C2=A0select-window-set-input-focus
which would parallel select-frame-set-input-focus nicely.

Bob
--089e0822a4bc6dd22a05602b356f--