From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#29518: 27.0.50; Compilation errors grab frame focus Date: Sat, 06 Jan 2018 09:50:31 -0500 Message-ID: <87po6nqbwo.fsf@users.sourceforge.net> References: <87609rs323.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1515250154 3723 195.159.176.226 (6 Jan 2018 14:49:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2018 14:49:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 29518@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 06 15:49:10 2018 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 1eXpmW-0000Yr-Uj for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jan 2018 15:49:09 +0100 Original-Received: from localhost ([::1]:38216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXpoW-0003ww-7L for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jan 2018 09:51:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXpoP-0003vU-Eu for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 09:51:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXpoM-00028p-7h for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 09:51:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eXpoM-00028N-3h for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 09:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eXpoL-0002kR-NK for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 09:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jan 2018 14:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29518 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29518-submit@debbugs.gnu.org id=B29518.151525024310537 (code B ref 29518); Sat, 06 Jan 2018 14:51:01 +0000 Original-Received: (at 29518) by debbugs.gnu.org; 6 Jan 2018 14:50:43 +0000 Original-Received: from localhost ([127.0.0.1]:37668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXpo2-0002jn-Uw for submit@debbugs.gnu.org; Sat, 06 Jan 2018 09:50:43 -0500 Original-Received: from mail-io0-f174.google.com ([209.85.223.174]:36135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXpo1-0002jV-7w; Sat, 06 Jan 2018 09:50:41 -0500 Original-Received: by mail-io0-f174.google.com with SMTP id i143so8674217ioa.3; Sat, 06 Jan 2018 06:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=H6xeQQScITC6+rFjTkUcJ9Ni391dpn1y+dlTBa0IMOM=; b=IIpYGyPro6YpoL9jOSeLVbk57UNcoddIki8jTB4SW6LYFl2DbfuTj9WdMSqnN+46y+ QpGz+kcE+vyeYTDN+yrQcO1JoPyd/rkbpNrF4C4v0AkTPn2qFwfCFS+mSBv1gCZHd2N7 Br+AyHm6D27RNsiCLa0/O5rYMgnEQS/iyHPP5BqHc/v39aY+0l34Vx3VXCi/6t79kXCp mZzGZ67lgtIhyrTnHGwEmcIuFqlMXxrmvCBoaSJh50MJd7jPifzi328OfY3BpuuTq91U Y+NA/MKa7wqqvvNE8HyKSlJj7+/1OCm0APAji0V4XlPisOAPihZPA6YktglGWaAvVdu1 2QXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=H6xeQQScITC6+rFjTkUcJ9Ni391dpn1y+dlTBa0IMOM=; b=iVGbJF5g6ADxeaQ7GqTHEl+ZFXbWFG0z1FUmk0DwrPey6LP6f68OnUkB0VeEZtF8IV v4yFiZMXbTO2+gJFVLZQ7iemWErHmfoj4u0UxtBYvN0CL4dD+jziRfeHn3tX4LzTMtY7 e4YkD5/yCwQ3PivjJakxmXZzo+5LhLoRrtwzUqfv8Y2Iwn67Ka8z3qpN+ikamJ4iq6NF s+l+ytbxLa+XtAZjIlO4j5yYJ0EOPxZXNu6XfXTshkJwA2ivmwqBqsjgyyLx2p+qoERw L0np6vgZ/5jUz2p0+oV3xMEmu9fmB9lPDCiltaff/M/KnP3IYCa0r0U74N435Ot2J42o pwDA== X-Gm-Message-State: AKGB3mKHX0amAVlgG3k3LtDDAN89HzWaDs8EoQUx+cbWm44UxI+4hWtL /a0mmvs71Bs5fVBEU+zzAKV4kA== X-Google-Smtp-Source: ACJfBot9zNRfMfVDGiifeykbPZyPO+QXuaOSXkDvBnZycy8AUFvDIhaBJgSmdunHIFdCbzP2iWhnbw== X-Received: by 10.107.62.194 with SMTP id l185mr6466500ioa.200.1515250235101; Sat, 06 Jan 2018 06:50:35 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id w69sm4731799itb.35.2018.01.06.06.50.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 06 Jan 2018 06:50:33 -0800 (PST) In-Reply-To: <87609rs323.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 30 Nov 2017 16:29:56 -0800") 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:141832 Archived-At: --=-=-= Content-Type: text/plain tags 29518 + unreproducible quit Eric Abrahamsen writes: > I've noticed over the past few weeks (couple of months?) that, while > updating packages, any compilation errors result in the *Package List* > frame grabbing focus. > > I start a package upgrade, switch to some other program, and then (some > packages produce a lot of errors!) start a focus tug-of-war with the > Emacs frame where the compilation is going on. > > I am on arch linux, with no DE, running i3 directly on X. I note that if > I move to a different workspace, compilation errors cause the workspace > where the frame lives to turn red (which seems to be the i3 behavior for > frames with warnings or notifications or whatever the X terminology is), > but I'm not yanked back there. If I'm in that workspace, however, the > Emacs frame keeps jumping to the fore. > > I've looked through the Emacs git log to see if anything jumps out as > having been changed, but most of the frame/focus stuff seems NS-related. > But I'm pretty sure this is new behavior. > > > In GNU Emacs 27.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.22.26) > of 2017-11-30 built on slip > Repository revision: 3f3d98ee5851840228786390ee7dbf851d144eb8 > Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 I can't reproduce this. I'm also running i3 directly on X (Debian stable though). I tried M-x package-install-file RET some-errors.el RET (see the attached file) then switch focus to a nearby terminal window. The compile error did not trigger a change in focus. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=some-errors.el Content-Description: elisp triggering compile error ;;; some-errors.el --- while ocmpiling ;; Copyright (C) 2008-2017 Free Software Foundation, Inc. ;; Version: 0.1 ;; Package-Requires: ((cl-lib "0.5")) (eval-when-compile (sleep-for 1)) (eval-when-compile (error "foo")) ;;; some-errors.el ends here --=-=-= Content-Type: text/plain There have been some changes to the way timeouts are handles, which could affect frame/focusing stuff (see #24091, #25521, and #29095), but I don't think it should cause what you are seeing. --=-=-=--