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: Fri, 14 Nov 2014 07:11:37 -0800 (PST) Message-ID: <41926108-7556-4b72-ae2c-60933b4ff187@default> References: <5460F5B3.6040402@gmx.at> <8e78202d-5ac0-4df5-8195-9849dd7509b7@default> <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> 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 1415977953 27195 80.91.229.3 (14 Nov 2014 15:12:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 15:12:33 +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 Fri Nov 14 16:12:26 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 1XpIXy-0006dt-2w for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2014 16:12:26 +0100 Original-Received: from localhost ([::1]:36892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpIXx-0000zL-KS for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2014 10:12:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpIXk-0000lh-9W for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 10:12:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpIXb-00019P-4O for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 10:12:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpIXb-00019H-1p for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 10:12:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XpIXa-0008Bj-GM for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 10:12: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: Fri, 14 Nov 2014 15:12:02 +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.141597790331443 (code B ref 19012); Fri, 14 Nov 2014 15:12:02 +0000 Original-Received: (at 19012) by debbugs.gnu.org; 14 Nov 2014 15:11:43 +0000 Original-Received: from localhost ([127.0.0.1]:60862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpIXH-0008B5-3a for submit@debbugs.gnu.org; Fri, 14 Nov 2014 10:11:43 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:35060) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpIXE-0008Ar-T0 for 19012@debbugs.gnu.org; Fri, 14 Nov 2014 10:11:41 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sAEFBdQX018923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Nov 2014 15:11:40 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sAEFBc4o011148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Nov 2014 15:11:38 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id sAEFBb8u017917; Fri, 14 Nov 2014 15:11:38 GMT In-Reply-To: <5465E967.1050304@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: ucsinet21.oracle.com [156.151.31.93] 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:96007 > Then give us a recipe so we can reproduce that "bug".... > Here with emacs -Q and evaluating... > both C-h f and C-h v select the window showing *Help*. Why do you not try the even simpler recipe I sent on 2014-11-12? You clearly read that mail, as you replied to other parts of it. With the latest Emacs build I have (and with others) the recipe is 100% reproducible. I am using MS Windows 7 64-bit. In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2014-10-20 on LEG570 Repository revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1' Here is the recipe again: 1. emacs -Q 2. Evaluate the code shown below (after recipe #5). 3. C-h v pop-up-frames RET That correctly creates the *Help* frame. And because MS Windows alwayse focuses a new frame, it has the focus. OK so far. 4. Select the original frame (e.g. with the mouse), so that it, not *Help*, now has the focus. 5. C-h v help-window-select RET The *Help* window & frame are not selected/focused. They should be. The code to evaluate at step #2 above: (setq pop-up-frames t) (setq help-window-select t) (setq w32-grab-focus-on-raise nil) (add-to-list 'special-display-buffer-names =09 '("*Help*" foo ((background-color . "Thistle")))) (defun foo (buf &optional args) (let (win) (setq win (funcall special-display-function buf args)) (raise-frame) win))