From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#24500: 25.1.50; Can't other-window from minibuffer if Ediff control panel frame present Date: Fri, 30 Sep 2016 19:13:48 +0100 Message-ID: References: <83a8f1f8l0.fsf@gnu.org> <83mvj0dkhd.fsf@gnu.org> <57E6CE51.1040600@gmx.at> <57EE232E.4090301@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1475259321 22282 195.159.176.226 (30 Sep 2016 18:15:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2016 18:15:21 +0000 (UTC) Cc: 24500@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 30 20:15:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bq2L5-00053O-Iu for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Sep 2016 20:15:15 +0200 Original-Received: from localhost ([::1]:46197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq2L3-0003tW-VJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Sep 2016 14:15:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq2Kx-0003q5-I3 for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2016 14:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq2Ks-0002pI-CR for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2016 14:15:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq2Ks-0002p7-8l for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2016 14:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bq2Ks-0008K8-2L for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2016 14:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Sep 2016 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24500 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24500-submit@debbugs.gnu.org id=B24500.147525926631943 (code B ref 24500); Fri, 30 Sep 2016 18:15:02 +0000 Original-Received: (at 24500) by debbugs.gnu.org; 30 Sep 2016 18:14:26 +0000 Original-Received: from localhost ([127.0.0.1]:39966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq2KI-0008J8-AH for submit@debbugs.gnu.org; Fri, 30 Sep 2016 14:14:26 -0400 Original-Received: from mail-vk0-f53.google.com ([209.85.213.53]:36349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq2KG-0008Iv-7k for 24500@debbugs.gnu.org; Fri, 30 Sep 2016 14:14:25 -0400 Original-Received: by mail-vk0-f53.google.com with SMTP id y190so79758373vkd.3 for <24500@debbugs.gnu.org>; Fri, 30 Sep 2016 11:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RG7XCRp3sle54l9MQdBmhC8e4qxwKqCHsra8NZRxXw8=; b=lPhvTX2t9MFMp1eu2kAsC3+pQP+nVJsnUsCvL6WT1Jkk8LButiW8XMLdt8Qu+LNTms Lcv7H7ppOZr2AWGbRU2qBpPh3MaFWmpYNM2FThb6TggnxzbOpJkoQcigyO+HQd106EY+ yBJgKps0L2TNOPXerb001zc0Kt8Dbota7VqmM8ji3/q/SOWV4u5g4nU1lLYzk9p4HFbs 3iBdoR8aOLK12ch1E9WrJwbccv1CIuHFCsk3rkTy9Ub/1sqeSAnmo9GOki3+nYo/egxE 10vfoOnPIQ1tAfuUNc2/6PlYMVJonPoF5tCPC6Flyw/q1+0fBjVBaYBwmduMJQDLZQ65 bWMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RG7XCRp3sle54l9MQdBmhC8e4qxwKqCHsra8NZRxXw8=; b=XT2EOpDl4Od4bHzb6r/u3bIxKmv/lFPublSN4Ev+Jqevuf0fy0j9Pn0b/gX6RL1lcA 26fs+7yss2/ckep/fUICr1+PsXAy2ujrsh66JnXkU02HVKmw+gu/au7jZV+A98T7yTDR AohQlzAwxhEA/n3l+r7DrWbddVTvxMCh3Q0+ztBAWsyBBiqtt7dkO18dcPknwGMMI2wm aoGbf4P+G/An95mxHA9UwuefucWKuCNyC8nXwxIm8SUHlH2V6fHcbBevyPxa4+18nqaq nKWXBwPdUCh45+l8z2yJMMBlNqrvcnQhymli78z0PmaCz9V97E+KGUhjVzm3TNUTrcpL +k6g== X-Gm-Message-State: AA6/9Rm63EsSWSs1sEZqzbriCTME2ywhLjAcwhEDoIdxGTC9hSvij8b4SwTQT387v0YeWfojrGAK7gk5sYRhSA== X-Received: by 10.31.109.195 with SMTP id i186mr6481174vkc.105.1475259258804; Fri, 30 Sep 2016 11:14:18 -0700 (PDT) Original-Received: by 10.159.40.1 with HTTP; Fri, 30 Sep 2016 11:13:48 -0700 (PDT) In-Reply-To: <57EE232E.4090301@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123794 Archived-At: On 30 September 2016 at 09:32, martin rudalics wrote: >> With patch (1) the focus can get stuck. Having saved the "my-other-window" >> example above as "x.el", from "emacs -Q", >> >> M-x load-file RET x.el RET ;; Creates and selects a minibuffer-less frame. >> ;; Call the initial frame "frame 1" and the minibuffer-less frame "frame >> 2". >> C-x b window2 RET ;; Select named window in frame 2 for clarity. >> C-x 5 o ;; Switch to frame 1 >> M-x >> C-x 5 o ;; Switch to frame 2 >> C-x o ;; Select window *scratch* in frame 1. >> C-x o ;; Select minibuffer. >> C-g ;; Quit M-x >> ;; Selected frame is frame 2 > > Why do you think so? The selected frame is frame 1 ever since C-x o > selected it (and it did so twice in a row). OK, then I now realize I have no idea what "selected frame" means. The fact I was attempting to express is that the activated window at the window-manager level is frame 2. >> and selected window in frame 2 is "window2", >> ;; but focus is still redirected to frame 1 (selected window now >> "*scratch*"). >> xyzzy ;; Characters are inserted in *scratch*. >> >> No amount of switching between frames 1 and 2 changes the focus >> redirection, > > I'm not sure I understand what you mean here. Do you mean that C-x 5 o > after the C-g does not select window2? I'd better assume that I don't know what "select window2" means either. I mean that the window with the solid flashing cursor where text is inserted when you type characters is window2, and that can't be changed by typing Alt-Tab (which on this Windows system is not passed to Emacs but activates a different window), nor by clicking on the non-client area of frame 1. In fact I hadn't tried C-x 5 o. That does fix things. >> but clicking inside a window on frame 2 does remove >> the redirection and get things back to normal. > What was abnormal before? I have no idea what's normal and what isn't any more :) I had expected activating frame 2 (using the window manager) to let me type characters into window2. >> I'll try patch (2) later. It sounds logical to me. > > martin