From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#37390: 26.3; ediff-buffers appears to have a focus issue Date: Fri, 13 Sep 2019 09:36:06 +0200 Message-ID: <1ddaf25a-e1c8-4fd2-1350-6ca8e33f31cb@gmx.at> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="66076"; mail-complaints-to="usenet@blaine.gmane.org" To: Matthew Persico , 37390@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 13 09:37:32 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i8g95-000H3d-TT for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Sep 2019 09:37:32 +0200 Original-Received: from localhost ([::1]:40958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8g93-0006me-9m for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Sep 2019 03:37:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35701) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8g8e-0006fs-0W for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 03:37:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8g8c-0003Fl-Sb for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 03:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8g8c-0003Fa-KF for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 03:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8g8c-0001bR-Er for bug-gnu-emacs@gnu.org; Fri, 13 Sep 2019 03:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Sep 2019 07:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37390 X-GNU-PR-Package: emacs Original-Received: via spool by 37390-submit@debbugs.gnu.org id=B37390.15683601796079 (code B ref 37390); Fri, 13 Sep 2019 07:37:02 +0000 Original-Received: (at 37390) by debbugs.gnu.org; 13 Sep 2019 07:36:19 +0000 Original-Received: from localhost ([127.0.0.1]:44283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8g7u-0001Zz-RZ for submit@debbugs.gnu.org; Fri, 13 Sep 2019 03:36:19 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:50657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8g7r-0001Zg-4S for 37390@debbugs.gnu.org; Fri, 13 Sep 2019 03:36:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1568360168; bh=a2GIKa1TMuZMjHA2XyvuFbP6vUQPZxxHr9VNTgRW6cI=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=LzMysjoZDyQAJS48h/BxebtITOjEjeANeO/PLebP8qEDn13SFgfxo+Iqtgs2lOq9p aOHww+ziteuXY2kZ9VaHSEKCq3hu/+I4XtBybECx5xrWwifTHWlqN+yiM3L+rlYZKa 7yTFu4uhCY2fzWcOao402+/tynknGN3a3bv+XH5g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.242]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M4Wwq-1iKrp62EFI-00yhLC; Fri, 13 Sep 2019 09:36:08 +0200 In-Reply-To: Content-Language: de-DE X-Provags-ID: V03:K1:XGxxKOsIsnh/twWH8c/blfWm1qDzKHH2tR5Fz4cphBHIUuOmObp J/lJtZcicBVYNH3agDTHsA4nh403UaEFcmeMGtegZv2i/UnrHvLbRZ3z3PYPbCVa47Vikrn HdarAE94w0iWaY1+gjUVxUBCA7Dlulzn4fvYum98WYU99Zg09AdPMibdnZAIDJksWDzgO4s c5NC9O3vEMHIUR+w4vcrQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:ttGeMAgQFtM=:iZtCbnuQZciBA7ZKiqeEFC vpeyzlTJfo8s9rVznNap5pXpWBohSPLqRxiMMWVPeyY3ZmH710VaaHhfBVg3P+3J1NW6im5Do kbTJMHl6pdaYgLl+m7AQd9192DVFgwbKgjIEj7xmX3OsbbnuCI0dt5uQ36hZdoukfURzzV6g/ NXHHtcgatYL9Au8emU+B35fg3auXLX7D2IzrSGNCEv+eG0xoA38etkM/eIhjLRFaXaQtbFqZr XWgVWa2Dm0KJuyfPKMdgOkRU997sSKVrflxfONF3UpQrPz/0lb5Jlrgy89zB1pklK8f5cJwET 4T+hpCVQl0SezjMrc3OiVa2xl9+LOfVYP1P71MY7ZIJ4Gd4xEkKbczD5YJ62POvFix2NHLxXH mqvZc2QHh3icSi8PJMY0d/7OtHyd+bwgGso4O6xAsGbajIZ6OB9Nldw52fNEDZZ/uS3WGcZJg rNay2GGBr1CemdIZgQMVxIBQIBORLVelO+hX6ygPQNogUg4zQbEDPTUHPjWsD2MgGc7YMuDzU W8QuNR7r+acfLiBP2iRV9khy/9WkGnpBf/qySWqfv5iGX+qiWnbSRN70HX038czLKhYok5bIT pR3F/UeNGngYwH7SVtbY+o/MYBzgOurYbXdVOwNxLaPGdkkJRIZbTwmh4sbOgFa1HPCpE23+/ 4hcVOrv0fhkL5F9cEqOcNPiXrU2JbVBsbYObTG1zEJcCK5zjoUFdPSGhstgnYNfaFYW6FhgAG cgbMQ7xIRUm+1RuDh8gvrxFKHRj2dTlEsaNx9vMfTQvuyJy5Vo/mUjDZWGMyLRIfHz9COOa+ 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: 209.51.188.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:166384 Archived-At: > In ediff-buffers mode, anytime you lose focus out of the ediff command > window (either by explicitly changing it OR executing an ediff selection of > a diff (via the 'a' or 'b' keys), all subsequent commands in the ediff > command window lose focus out of the window and you have to re-establish > focus after every ediff command. > > Try this to reproduce: > > cp ~/.profile /tmp/bufa > cp ~/.profile /tmp/bufbb > sed 's/x/y/' bufbb > bufb > emacs /tmp/bufa /tmp/bufb > In emacs diff the two buffers with M-x ediff-buffers > In the ediff command window > n > n > now change focus to any other window on your desktop OR pick diff 'a' or > 'b' to apply. > now change focus back to the ediff window Is "ediff window" the frame where bufa and bufb are shown or the ediff command window? > n > focus should have jumped out of the ediff command window to one of the > diffed buffers. > 26.2 did not do that; once back in the ediff command window, focus stayed > there after each ediff command. This issue makes it very annoying to > process diffs. I cannot reproduce this behavior here. After "n" focus stays in the ediff command window. But I faintly recall that I changed something in this area a few years ago and that subsequently Stefan had problems with his minibuffer in a separate frame setup. That was something I wasn't able to reproduce either. It might be also window manager dependent. If you build Emacs yourself, you could you try bisecting this to find the offending commit. You could also look whether bug#11622 or bug#35635 describe the same issue. And maybe someone can reproduce your use case and we can start digging from there. If neither of these help, we probably have to try to debug this issue by tracking 'handle-focus-in' which is no fun. martin