From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: Add discussion of input focus handling to select-window; add select-frame-window Date: Wed, 13 Dec 2017 17:10:32 -0500 Message-ID: References: <5A30E9AF.2060105@gmx.at> <5A317FAA.3090209@gmx.at> <83d13iv095.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513203072 8486 195.159.176.226 (13 Dec 2017 22:11:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Dec 2017 22:11:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: martin rudalics , rswgnu@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 13 23:11:08 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 1ePFF5-0001x3-US for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2017 23:11:08 +0100 Original-Received: from localhost ([::1]:37987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePFFD-0004t6-6W for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2017 17:11:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePFEc-0004sy-Fp for emacs-devel@gnu.org; Wed, 13 Dec 2017 17:10:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePFEb-0007BZ-MU for emacs-devel@gnu.org; Wed, 13 Dec 2017 17:10:38 -0500 Original-Received: from pmta11.teksavvy.com ([76.10.157.34]:58553) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePFEX-00074e-J6; Wed, 13 Dec 2017 17:10:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2G0CADJpDFa/zyu+M5cHQEBBQELAYM+R?= =?us-ascii?q?oEUg16LYI4TAYF8NAGYcYU/BAIChRJEFAEBAQEBAQEBAQNoKIUlAQQBViMQCzQ?= =?us-ascii?q?SFBgNJIozCKstimIBAQEHAiaDYIh1ixUFkyiPd6Eph2aWVoFLNiOBTjIaCDCCZ?= =?us-ascii?q?IMHgWwjimMBAQE?= X-IPAS-Result: =?us-ascii?q?A2G0CADJpDFa/zyu+M5cHQEBBQELAYM+RoEUg16LYI4TAYF?= =?us-ascii?q?8NAGYcYU/BAIChRJEFAEBAQEBAQEBAQNoKIUlAQQBViMQCzQSFBgNJIozCKsti?= =?us-ascii?q?mIBAQEHAiaDYIh1ixUFkyiPd6Eph2aWVoFLNiOBTjIaCDCCZIMHgWwjimMBAQE?= X-IronPort-AV: E=Sophos;i="5.45,398,1508817600"; d="scan'208";a="14275426" Original-Received: from 206-248-174-60.dsl.teksavvy.com (HELO pastel.home) ([206.248.174.60]) by smtp.teksavvy.com with ESMTP; 13 Dec 2017 17:10:32 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 9648960770; Wed, 13 Dec 2017 17:10:32 -0500 (EST) In-Reply-To: <83d13iv095.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 13 Dec 2017 22:30:46 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.10.157.34 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:221027 Archived-At: >> > 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. Stefan