From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Add discussion of input focus handling to select-window; add select-frame-window Date: Thu, 14 Dec 2017 22:09:54 +0200 Message-ID: <83r2rxt6jx.fsf@gnu.org> References: <5A30E9AF.2060105@gmx.at> <5A317FAA.3090209@gmx.at> <83d13iv095.fsf@gnu.org> <83bmj2ugok.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1513282230 28839 195.159.176.226 (14 Dec 2017 20:10:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 20:10:30 +0000 (UTC) Cc: rudalics@gmx.at, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rswgnu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 14 21:10:26 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 1ePZpp-0007F2-Gi for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 21:10:25 +0100 Original-Received: from localhost ([::1]:42926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePZpw-0007H4-Do for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 15:10:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePZpj-0007GZ-En for emacs-devel@gnu.org; Thu, 14 Dec 2017 15:10:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePZpZ-0005KF-1q for emacs-devel@gnu.org; Thu, 14 Dec 2017 15:10:18 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePZpY-0005JO-Nk; Thu, 14 Dec 2017 15:10:08 -0500 Original-Received: from [176.228.60.248] (port=4216 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ePZpW-0002zo-Pf; Thu, 14 Dec 2017 15:10:08 -0500 In-reply-to: (message from Robert Weiner on Thu, 14 Dec 2017 10:01:03 -0500) 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:221064 Archived-At: > From: Robert Weiner > Date: Thu, 14 Dec 2017 10:01:03 -0500 > Cc: Stefan Monnier , martin rudalics , > emacs-devel > > ​I did with this suggested addition to select-window's doc string: > > "Although this selects the window's frame, it does not alter the > frame's position in the window stack (see `raise-frame') nor does > it direct input focus to that frame. To do both of those at once, > see `select-frame-set-input-focus'. Sorry, I don't see how input focus or frame position in z-order are related to selecting a window. Input focus is per-frame, not per-window. Someone who looks for information about focus or z-order will look for frame-related stuff, not window-related stuff. I could perhaps agree to a note in the manual where select-window is described, but even there this information looks too far-fetched and out of its natural place. Maybe you could explain how you arrived at considering input focus and z-order while using select-window. Perhaps that would help me understand the connection, because right now I see none. Thanks.