From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#19012: 25.0.50; `help-window-select' Date: Sat, 15 Nov 2014 06:40:35 -0800 (PST) Message-ID: References: <5461C901.6060707@gmx.at> <3f833473-f246-4d57-95cd-2ac654d326c9@default> <5462561B.2030306@gmx.at> <561951d1-fee4-44ea-bc22-d354b007601d@default> <54646172.7020801@gmx.at> <5464DC39.4020703@gmx.at> <5464FCD5.6070201@gmx.at> <66cb622a-236c-4e8d-a7ba-cb1de310bb05@default> <5465E967.1050304@gmx.at> <41926108-7556-4b72-ae2c-60933b4ff187@default> <5466300D.2030708@gmx.at> <75786231-f3a3-420f-a0d8-4960e09c720e@default> <54663E6F.6010702@gmx.at> <5453eef4-1955-4b79-819a-43786f56a8cc@default> <5466457F.8000400@gmx.at> <54664AF4.9000606@gmx.at> <97868572-923b-4f0a-bd16-b4d475ddb002@default> <5466532C.2040003@gmx.at> <2b53c981-eaef-47f3-850a-6367b4cd5dc1@default> <546737E1.6010406@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416062494 28844 80.91.229.3 (15 Nov 2014 14:41:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2014 14:41:34 +0000 (UTC) To: martin rudalics , 19012@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 15:41:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XpeXT-0000GS-4j for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Nov 2014 15:41:23 +0100 Original-Received: from localhost ([::1]:40759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpeXS-00029Z-Kx for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Nov 2014 09:41:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpeXH-00029U-FU for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 09:41:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpeX8-0003lz-LX for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 09:41:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpeX8-0003lv-Iv for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 09:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XpeX7-0005V8-SM for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 09:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Nov 2014 14:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19012-submit@debbugs.gnu.org id=B19012.141606244521117 (code B ref 19012); Sat, 15 Nov 2014 14:41:01 +0000 Original-Received: (at 19012) by debbugs.gnu.org; 15 Nov 2014 14:40:45 +0000 Original-Received: from localhost ([127.0.0.1]:33420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpeWp-0005UW-Al for submit@debbugs.gnu.org; Sat, 15 Nov 2014 09:40:44 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:29928) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpeWj-0005UH-51 for 19012@debbugs.gnu.org; Sat, 15 Nov 2014 09:40:37 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sAFEeZfU010166 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 15 Nov 2014 14:40:36 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sAFEeYIa014079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 15 Nov 2014 14:40:34 GMT Original-Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sAFEeYXS028131; Sat, 15 Nov 2014 14:40:34 GMT In-Reply-To: <546737E1.6010406@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96065 > > 1. The `temp-buffer-*-hook's are not only about showing *Help*. > > That workaround thus affects more than it should. >=20 > `temp-buffer-window-setup-hook' is run with *Help* current. So you > won't have any problems discriminating this special case. How so? (Not clear to me.) `help-window-select' should be for *Help* functions only, not for all uses of `with-output-to-temp-buffer'. But I'm probably not understanding your point. > > 2. Users of `w32*' should not need to do that explicitly > > themselves. Perhaps Emacs can do the equivalent, itself (but > > limited to *Help*, not affecting all temp buffer display). >=20 > I cannot possibly use a feature like `w32-grab-focus-on-raise' whose > semantics I neither understand nor can reenact in my environment in > the frame/window code of Emacs. Do you mean use for testing (this bug)? Or do you mean use in general, for your personal use of Emacs? `w32*' is an Emacs option. It is not something non-Emacs (e.g., from MS Windows), and it is not something that I dreamed up. It, like `help-window-select', should work (for Emacs). No? > But we could change `help-window-setup' as follows: Great. That too (like setting `w32-grab-focus-on-raise' to t in `temp-buffer-window-setup-hook' and setting it to nil in `temp-buffer-window-show-hook') seems to fix the problem, for both the test case and AFAICT in my setup. Would you please make this change to `help-window-setup'? If so, I think we can close the bug. Thanks for your help.