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 05:33:31 +0200 Message-ID: <83bmj2ugok.fsf@gnu.org> References: <5A30E9AF.2060105@gmx.at> <5A317FAA.3090209@gmx.at> <83d13iv095.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513222428 9349 195.159.176.226 (14 Dec 2017 03:33:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 03:33:48 +0000 (UTC) Cc: rudalics@gmx.at, rswgnu@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 14 04:33:44 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 1ePKHH-00027h-VZ for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 04:33:44 +0100 Original-Received: from localhost ([::1]:38978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePKHP-0007he-5C for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2017 22:33:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePKHE-0007gL-5k for emacs-devel@gnu.org; Wed, 13 Dec 2017 22:33:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePKHB-0007mj-24 for emacs-devel@gnu.org; Wed, 13 Dec 2017 22:33:40 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePKHA-0007mc-Uv; Wed, 13 Dec 2017 22:33:36 -0500 Original-Received: from [176.228.60.248] (port=2956 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ePKHA-0007Eh-5N; Wed, 13 Dec 2017 22:33:36 -0500 In-reply-to: (message from Stefan Monnier on Wed, 13 Dec 2017 17:10:32 -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:221038 Archived-At: > From: Stefan Monnier > Date: Wed, 13 Dec 2017 17:10:32 -0500 > Cc: martin rudalics , rswgnu@gmail.com, emacs-devel@gnu.org > > >> > 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'. > >> We can add that but I'll rather let Eli decide whether it's useful. > > I generally consider this to be a futile waste of energy, as it can > > never work reliably with all the window managers out there. It is > > much easier either to install the WM which behaves as you want, or > > make an Emacs key binding to do that. > > Not sure what "that" refers to in this last sentence. > The proposal is just to add the above paragraph (or something similar) > to the docstring of select-window to clarify that select-window doesn't > affect frame focus. My misunderstanding, sorry. But if the issue is documentation, why not show a proposed patch? That'd make clear what is being proposed, because discussing documentation changes without a concrete proposal is not an efficient way of making such decisions.