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: Suggestion: Add discussion of input focus handling to select-window; add select-frame-window Date: Tue, 12 Dec 2017 10:39:30 -0500 Message-ID: Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113d7018c5128c056026767b" X-Trace: blaine.gmane.org 1513093215 9409 195.159.176.226 (12 Dec 2017 15:40:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 15:40:15 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 16:40:11 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 1eOmfB-0002Ee-VW for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 16:40:10 +0100 Original-Received: from localhost ([::1]:59032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOmfJ-00010J-3k for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 10:40:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOmf7-0000z1-TN for emacs-devel@gnu.org; Tue, 12 Dec 2017 10:40:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOmf4-0006aP-4F for emacs-devel@gnu.org; Tue, 12 Dec 2017 10:40:05 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOmf4-0006aK-1Z for emacs-devel@gnu.org; Tue, 12 Dec 2017 10:40:02 -0500 Original-Received: from mail-qt0-f181.google.com ([209.85.216.181]:44353) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1eOmf4-0004MV-0p for emacs-devel@gnu.org; Tue, 12 Dec 2017 10:40:02 -0500 Original-Received: by mail-qt0-f181.google.com with SMTP id m59so48187188qte.11 for ; Tue, 12 Dec 2017 07:40:01 -0800 (PST) X-Gm-Message-State: AKGB3mKZoA26nbczzE0QnRl4Ai1ZSzvtMtbD6dtKJbSjcjFXj18chsD7 hTxg8fm1TmlBoCJXETLiIwmYwXTzR8QfFN4XzX0= X-Google-Smtp-Source: ACJfBou6PRhjUfUyRVQawPhdE5fNRYd2qsRSjcOV3pGgYk1jU7X0blLAhABnS7x4YptGHKT2WgOtoXTvIzY000qfr8M= X-Received: by 10.200.51.143 with SMTP id c15mr6204302qtb.46.1513093201201; Tue, 12 Dec 2017 07:40:01 -0800 (PST) Original-Received: by 10.200.55.124 with HTTP; Tue, 12 Dec 2017 07:39:30 -0800 (PST) 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:220928 Archived-At: --001a113d7018c5128c056026767b Content-Type: text/plain; charset="UTF-8" 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. Bob --001a113d7018c5128c056026767b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 f= uture input events to go there.=C2=A0 I would suggest adding this along wit= h a reference to=C2=A0select-frame-set-input-focus.

Even bet= ter might be to add select-frame-window which would combine select-window a= nd select-frame-set-input-focus for those times where you want to both sele= ct the frame and change its selected window.

Bob

--001a113d7018c5128c056026767b--