GNU bug report logs - #29518
27.0.50; Compilation errors grab frame focus

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Eric Abrahamsen <eric@HIDDEN>; Keywords: unreproducible; dated Fri, 1 Dec 2017 15:52:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 29518 <at> debbugs.gnu.org:


Received: (at 29518) by debbugs.gnu.org; 16 Jan 2018 00:15:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 15 19:15:23 2018
Received: from localhost ([127.0.0.1]:57888 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ebEuR-00009D-0M
	for submit <at> debbugs.gnu.org; Mon, 15 Jan 2018 19:15:23 -0500
Received: from mail.ericabrahamsen.net ([50.56.99.223]:40191)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1ebEuO-000094-LQ
 for 29518 <at> debbugs.gnu.org; Mon, 15 Jan 2018 19:15:20 -0500
Received: from localhost (71-212-75-109.tukw.qwest.net [71.212.75.109])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id DF83AC0152;
 Tue, 16 Jan 2018 00:15:19 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mail.ericabrahamsen.net; s=mail; t=1516061720;
 bh=kXcxS5r3bmVFCpEcYaTUD9q17xXIeWAFRRVxpCj+qPA=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=krc1ERMSeFbJZ9lcfhNVQSbbsE2GwHJZYluh7MyMqhKoZcawIHXfKgDbnheWyCacc
 qsJjYvPFy+Fxb9Glj1EnY9rOnBaYE8HBhMpGm+AAmDCjbBguQoeQNOmOJ5aIrSuigh
 RM9SA1o0Iu3EFTr6uhjVGaUe8OlkmWUH+Johnm3M=
From: Eric Abrahamsen <eric@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#29518: 27.0.50; Compilation errors grab frame focus
References: <87609rs323.fsf@HIDDEN>
 <87po6nqbwo.fsf@HIDDEN>
 <877esun3t3.fsf@HIDDEN>
 <87mv1qraoq.fsf@HIDDEN>
 <87h8rnpwek.fsf@HIDDEN>
 <878tczpbpu.fsf@HIDDEN>
Date: Mon, 15 Jan 2018 16:15:19 -0800
In-Reply-To: <878tczpbpu.fsf@HIDDEN> (Noam Postavsky's message
 of "Mon, 15 Jan 2018 07:07:09 -0500")
Message-ID: <87d12amzfs.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 29518
Cc: 29518 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


On 01/15/18 07:07 AM, Noam Postavsky wrote:
> Eric Abrahamsen <eric@HIDDEN> writes:
>
>> On 01/06/18 15:31 PM, Noam Postavsky wrote:
>>> I can't think of anything.  If you M-x debug-on-error RET x-focus-frame
>>> RET do you get any hits?
>>
>> Sorry about the slow response...
>>
>> That was an odd recipe, but turning on debug-on-error, then running
>> several varieties of (x-focus-frame (window-frame)), including focusing
>> the current frame or other frames, never did anything other than what I
>> would expect it to -- returning nil when the frame was already focused,
>> and focusing the frame when it wasn't.
>
> Oh, it's odd because I made a thinko, that should have been M-x
> debug-on-entry ...
>          ^^^^^

Aha! Turning that on results in nothing happening -- re-running your
earlier recipe for compile/install errors still yanks focus, but does
not enter the debugger. Other frame-switching activity (eg
`helm-projectile-switch-to-buffer') does enter the debugger.

Weird.

Eric




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29518; Package emacs. Full text available.

Message received at 29518 <at> debbugs.gnu.org:


Received: (at 29518) by debbugs.gnu.org; 15 Jan 2018 12:07:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 15 07:07:18 2018
Received: from localhost ([127.0.0.1]:56725 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eb3Xq-0000xy-OI
	for submit <at> debbugs.gnu.org; Mon, 15 Jan 2018 07:07:18 -0500
Received: from mail-it0-f53.google.com ([209.85.214.53]:40087)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1eb3Xp-0000xl-Jp
 for 29518 <at> debbugs.gnu.org; Mon, 15 Jan 2018 07:07:17 -0500
Received: by mail-it0-f53.google.com with SMTP id 196so616825iti.5
 for <29518 <at> debbugs.gnu.org>; Mon, 15 Jan 2018 04:07:17 -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=DfTkcE5xfhymR8XEdDTpjCj0hoFEZWKX87Wm3WkbEu4=;
 b=N0x/Y7ec4Am5diEVB8YoF9vmDCCmWILbhdQ0E1KLfrXIky5Yk2ddWmE1G0lqDD8Srf
 130fN0U8e0wiaMXVTuEkZqUMwsEN5elavVJdXUxERQ5BN2o72NiB1PvosJ5FXrb4t5Tu
 KW+UbNUQdPkTNG1ijuKG4YFSbCSdFUf6ESWeQ1WJY5HXzu2mB/8qeEizvkzGLO9lSY9o
 WAjc4BkAOClbfJkQwyYi4sy3RCgJXZGJpxI0nrtlMGgXcgvCIkvnU2l2/ttEvMkkEdD/
 95rNOvuXzFaGZhQJrsTXfJ7+ckykD4gQ6PKVx3gtGvg2x0T1fGrSVJf5ILKk4dflepYk
 b/NQ==
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=DfTkcE5xfhymR8XEdDTpjCj0hoFEZWKX87Wm3WkbEu4=;
 b=pDTkzpTyyqj9mmFwgG5eSc/N/zitR7hOq2y4QuaKl4ZJmbbSY4h//ZLTbly+jW5SUb
 Rcn8n3FIDfBjhHpjhdWYQ/pnuaeM9HQKs+ND9tJaY60MtA7wrjJaRBmpLi0fLyPFeksM
 2LWGLty7e4ocqtO7/MufA0u/VuButD21JTfIAJfD/Otkw5X0Nf6mJ9eVBNW0PDxvtgp+
 VaRsqOCHIBEbCigkjDj4ee/JrX2AjvxJeHxfXpZLlGrghHchCjuDP90WIvRDdScf3Ag9
 Mzlvg5Yf1PVFEPKrm/kpb1H5Z7xXVhyMjH05mbXeExByUdTxDNi/U0xQw8dpeAUkB2Nf
 0IBg==
X-Gm-Message-State: AKwxytfomJFMF1IDpSLVQPbnNX7PSY1ndR6fIDD+YWfzUnXN/Q608udn
 T3kaYTDwvLxT+7cbZ0k4Q2CGcw==
X-Google-Smtp-Source: ACJfBotMEJ8p8fjzHAK4MmGyNHsuk9+7LdwCs1pLdzMvNzM0ToVqk7zw4LHUBjfug3yeAZI6WRUEdA==
X-Received: by 10.36.51.201 with SMTP id k192mr6632510itk.71.1516018031876;
 Mon, 15 Jan 2018 04:07:11 -0800 (PST)
Received: from zebian ([45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id l15sm15326990iog.56.2018.01.15.04.07.09
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 15 Jan 2018 04:07:10 -0800 (PST)
From: Noam Postavsky <npostavs@HIDDEN>
To: Eric Abrahamsen <eric@HIDDEN>
Subject: Re: bug#29518: 27.0.50; Compilation errors grab frame focus
References: <87609rs323.fsf@HIDDEN>
 <87po6nqbwo.fsf@HIDDEN> <877esun3t3.fsf@HIDDEN>
 <87mv1qraoq.fsf@HIDDEN> <87h8rnpwek.fsf@HIDDEN>
Date: Mon, 15 Jan 2018 07:07:09 -0500
In-Reply-To: <87h8rnpwek.fsf@HIDDEN> (Eric Abrahamsen's message of
 "Sun, 14 Jan 2018 20:40:19 -0800")
Message-ID: <878tczpbpu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 29518
Cc: 29518 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

Eric Abrahamsen <eric@HIDDEN> writes:

> On 01/06/18 15:31 PM, Noam Postavsky wrote:
>> I can't think of anything.  If you M-x debug-on-error RET x-focus-frame
>> RET do you get any hits?
>
> Sorry about the slow response...
>
> That was an odd recipe, but turning on debug-on-error, then running
> several varieties of (x-focus-frame (window-frame)), including focusing
> the current frame or other frames, never did anything other than what I
> would expect it to -- returning nil when the frame was already focused,
> and focusing the frame when it wasn't.

Oh, it's odd because I made a thinko, that should have been M-x
debug-on-entry ...
         ^^^^^

> I wasn't able to revert those commits cleanly, and I guess I don't
> really think that's the issue. I suspect this is a change in X behavior
> (Arch has xorg-server 1.19), and maybe it's not worth chasing after at
> this point. Maybe it's enough just to leave this report hanging here,
> and see if anyone else runs into it?

Hmm, I guess.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29518; Package emacs. Full text available.

Message received at 29518 <at> debbugs.gnu.org:


Received: (at 29518) by debbugs.gnu.org; 15 Jan 2018 04:40:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 14 23:40:23 2018
Received: from localhost ([127.0.0.1]:56573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eawZL-00071r-Db
	for submit <at> debbugs.gnu.org; Sun, 14 Jan 2018 23:40:23 -0500
Received: from mail.ericabrahamsen.net ([50.56.99.223]:48710)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1eawZJ-00071j-KS
 for 29518 <at> debbugs.gnu.org; Sun, 14 Jan 2018 23:40:21 -0500
Received: from localhost (71-212-75-109.tukw.qwest.net [71.212.75.109])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 751AFC0113;
 Mon, 15 Jan 2018 04:40:20 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mail.ericabrahamsen.net; s=mail; t=1515991220;
 bh=Aop2bgWJh3b36UtLP6pZPajEXwscASZVLzN0+6Y74hI=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=s0slkq7Mxp50KXnwxbx0adykvNWB1M+LzPBJ3mskaFvCBeT2prXbO1GtRfejNqg0C
 ZDyZbhWj4xCxPIKJFCeguJCzyxxbsWrv+NzENViWrkMS8Uj1z73W/39wONI94JpYxe
 /aJys7pyhPPbwG7CtsRRxu+bznW3rM0hJTrlpDhw=
From: Eric Abrahamsen <eric@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#29518: 27.0.50; Compilation errors grab frame focus
References: <87609rs323.fsf@HIDDEN>
 <87po6nqbwo.fsf@HIDDEN>
 <877esun3t3.fsf@HIDDEN>
 <87mv1qraoq.fsf@HIDDEN>
Date: Sun, 14 Jan 2018 20:40:19 -0800
In-Reply-To: <87mv1qraoq.fsf@HIDDEN> (Noam Postavsky's message
 of "Sat, 06 Jan 2018 15:31:33 -0500")
Message-ID: <87h8rnpwek.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 29518
Cc: 29518 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


On 01/06/18 15:31 PM, Noam Postavsky wrote:
> Eric Abrahamsen <eric@HIDDEN> writes:
>
>> Thanks for the test! That triggers the same focus-grabbing behavior for
>> me -- from other Emacs frames, and other applications' frames, using
>> "emacs -Q".
>>
>> You tried this also with switching to a different workspace? And it
>> didn't turn the workspace's tab red?
>
> I tried now switching to a different workspace after starting the
> compile, the tab did not turn red.
>
>> Perhaps something's configured differently on my system (though I don't
>> know why it would be, I didn't customize anything). Is there anything I
>> might be looking for in config.log?
>
> I can't think of anything.  If you M-x debug-on-error RET x-focus-frame
> RET do you get any hits?

Sorry about the slow response...

That was an odd recipe, but turning on debug-on-error, then running
several varieties of (x-focus-frame (window-frame)), including focusing
the current frame or other frames, never did anything other than what I
would expect it to -- returning nil when the frame was already focused,
and focusing the frame when it wasn't.

>>> 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.
>>
>> I fooled with `x-wait-for-event-timeout' but that didn't do anything. I
>> suppose 6a788d2fc18c23dcfc5d0352649b2f690e9cbff7 could be related
>> (FRAME_VISIBLE_P certainly sounds relevant) but I don't actually
>> understand what's happening in there. Should I try just reverting the
>> commit and re-building?
>
> I don't expect it to affect this, but since we have no other leads, I
> suppose you may as well try it.  You would probably need to revert [1:
> e1f6e3127a] first.
>
> [1: e1f6e3127a]: 2017-09-29 18:40:06 -0400
>   Bring back the busy wait after x_make_frame_visible (Bug#25521)
>   https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e1f6e3127a292e6ba66d27c49ddda4fe949569f5

I wasn't able to revert those commits cleanly, and I guess I don't
really think that's the issue. I suspect this is a change in X behavior
(Arch has xorg-server 1.19), and maybe it's not worth chasing after at
this point. Maybe it's enough just to leave this report hanging here,
and see if anyone else runs into it?

Eric




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29518; Package emacs. Full text available.

Message received at 29518 <at> debbugs.gnu.org:


Received: (at 29518) by debbugs.gnu.org; 6 Jan 2018 20:31:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 06 15:31:44 2018
Received: from localhost ([127.0.0.1]:38469 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eXv83-0006Or-Oc
	for submit <at> debbugs.gnu.org; Sat, 06 Jan 2018 15:31:43 -0500
Received: from mail-it0-f47.google.com ([209.85.214.47]:43841)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1eXv81-0006Od-3P
 for 29518 <at> debbugs.gnu.org; Sat, 06 Jan 2018 15:31:41 -0500
Received: by mail-it0-f47.google.com with SMTP id u62so5175854ita.2
 for <29518 <at> debbugs.gnu.org>; Sat, 06 Jan 2018 12:31: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=7M+EWa+977rvLxyu5RSNQRtzb4cgnqno/8UIK7gsqeI=;
 b=ZcmlqviXvxpv41cdt8y5Lb+NW8rjBwk7rqH8zCQqjiqhDSi7e8olIac0qDzJOP4GF3
 rx/TDyah09qdXQiEwBW2iAcuLAxKv9VpIA5OqITGMLI7FgwO21zRD2PQcQ9jTPSk3Z/v
 bHjyraLJ+qR1Ae5z4slp/9bPv85ZOn6+YQoXHgszVom9tsf97YFgMwMjvJ6862QyywoA
 qwTgv9ONsGkFi6SHttuFpL8QRfXk+17aF1S7iN1Kd2zAdrPDVlZc/450WPHR/fO9t+BY
 SzAkKQzDkl7rneizp0atvCqfiW8zE6DyUO2wZoA5SE0pf2YLKIM9oKx9mrL5Az9QDLY+
 aagA==
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=7M+EWa+977rvLxyu5RSNQRtzb4cgnqno/8UIK7gsqeI=;
 b=olqpD2vDnHZpCUV69L1Z4kN+SvNai7V9zyCxMq6176QidXEDOWhpMfEnn4NdWyIIVI
 SVbZw8hhBNQtrOyFlJT1OKSzT88lU0B158Ad1wsGwrG5K/rWxuaxV5rd6+ilTL97+1bO
 A1rpK7GFxKCuSpSPWJseGVmY3Dl60xuqGXIVnWRgcF+aFePz6xZxA8IXer08TsNEgKPj
 dcdwO31k1BJ8RCOSUAnA8/frvJd/28NlQGiIFJM3MhN22iTRjYuSxmfMorBIWbwwo0kH
 F5QnmH2C2Yn7k/JaosbDF16SgxgRjUb3uMDm561JHpmnKXMooN+Yq0J/LR6P1SMoCglU
 pOng==
X-Gm-Message-State: AKGB3mJxai0Ds1x57jmx+dvUsUWWwkHFqUT/SAwe7pCFBK36FU/lQkJv
 t7tfm6W/r0+ZG/0rmL2hr2hMXw==
X-Google-Smtp-Source: ACJfBou6HoTL8ZXekE37p3/zF06xr/vRD+GSLZkMefWDJCj8YrRnmXH4umYTRo8mIkz16p4GwVcXag==
X-Received: by 10.36.114.149 with SMTP id x143mr7524359itc.82.1515270695208;
 Sat, 06 Jan 2018 12:31:35 -0800 (PST)
Received: from zebian ([45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id 139sm3459418itm.2.2018.01.06.12.31.34
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 06 Jan 2018 12:31:34 -0800 (PST)
From: Noam Postavsky <npostavs@HIDDEN>
To: Eric Abrahamsen <eric@HIDDEN>
Subject: Re: bug#29518: 27.0.50; Compilation errors grab frame focus
References: <87609rs323.fsf@HIDDEN>
 <87po6nqbwo.fsf@HIDDEN> <877esun3t3.fsf@HIDDEN>
Date: Sat, 06 Jan 2018 15:31:33 -0500
In-Reply-To: <877esun3t3.fsf@HIDDEN> (Eric Abrahamsen's message of
 "Sat, 06 Jan 2018 12:13:44 -0800")
Message-ID: <87mv1qraoq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 29518
Cc: 29518 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

Eric Abrahamsen <eric@HIDDEN> writes:

> Thanks for the test! That triggers the same focus-grabbing behavior for
> me -- from other Emacs frames, and other applications' frames, using
> "emacs -Q".
>
> You tried this also with switching to a different workspace? And it
> didn't turn the workspace's tab red?

I tried now switching to a different workspace after starting the
compile, the tab did not turn red.

> Perhaps something's configured differently on my system (though I don't
> know why it would be, I didn't customize anything). Is there anything I
> might be looking for in config.log?

I can't think of anything.  If you M-x debug-on-error RET x-focus-frame
RET do you get any hits?

>> 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.
>
> I fooled with `x-wait-for-event-timeout' but that didn't do anything. I
> suppose 6a788d2fc18c23dcfc5d0352649b2f690e9cbff7 could be related
> (FRAME_VISIBLE_P certainly sounds relevant) but I don't actually
> understand what's happening in there. Should I try just reverting the
> commit and re-building?

I don't expect it to affect this, but since we have no other leads, I
suppose you may as well try it.  You would probably need to revert [1:
e1f6e3127a] first.

[1: e1f6e3127a]: 2017-09-29 18:40:06 -0400
  Bring back the busy wait after x_make_frame_visible (Bug#25521)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e1f6e3127a292e6ba66d27c49ddda4fe949569f5




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29518; Package emacs. Full text available.

Message received at 29518 <at> debbugs.gnu.org:


Received: (at 29518) by debbugs.gnu.org; 6 Jan 2018 20:13:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 06 15:13:49 2018
Received: from localhost ([127.0.0.1]:38463 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eXuqj-0005z1-4e
	for submit <at> debbugs.gnu.org; Sat, 06 Jan 2018 15:13:49 -0500
Received: from mail.ericabrahamsen.net ([50.56.99.223]:44616)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1eXuqh-0005yt-2o
 for 29518 <at> debbugs.gnu.org; Sat, 06 Jan 2018 15:13:47 -0500
Received: from localhost (71-212-75-109.tukw.qwest.net [71.212.75.109])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 43547BFE1C;
 Sat,  6 Jan 2018 20:13:46 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mail.ericabrahamsen.net; s=mail; t=1515269626;
 bh=QCdUGTUgvB+E7EhKYoh9VpqH6sdsc2F1hnxJRryfvTg=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=wg47RDEUCsqf4WU7vKmDyfanEA1Mau6AkRWAicEemnR76iXR+QMPyIMtD4/qUR57k
 pmhBXnlgBhDD19e7c+74UbEuRczjvvFdubd9I53R0hwbWxD/WGRvsqvAGX9dpu0ne2
 Vq8+4k03ILfL/6NdTJFNBZ7pmRHwQ1BbiDzF1jW8=
From: Eric Abrahamsen <eric@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#29518: 27.0.50; Compilation errors grab frame focus
References: <87609rs323.fsf@HIDDEN>
 <87po6nqbwo.fsf@HIDDEN>
Date: Sat, 06 Jan 2018 12:13:44 -0800
In-Reply-To: <87po6nqbwo.fsf@HIDDEN> (Noam Postavsky's message
 of "Sat, 06 Jan 2018 09:50:31 -0500")
Message-ID: <877esun3t3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 29518
Cc: 29518 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


On 01/06/18 09:50 AM, Noam Postavsky wrote:
> tags 29518 + unreproducible
> quit
>
> Eric Abrahamsen <eric@HIDDEN> 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.

Thanks for the test! That triggers the same focus-grabbing behavior for
me -- from other Emacs frames, and other applications' frames, using
"emacs -Q".

You tried this also with switching to a different workspace? And it
didn't turn the workspace's tab red?

Perhaps something's configured differently on my system (though I don't
know why it would be, I didn't customize anything). Is there anything I
might be looking for in config.log?

> 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.

I fooled with `x-wait-for-event-timeout' but that didn't do anything. I
suppose 6a788d2fc18c23dcfc5d0352649b2f690e9cbff7 could be related
(FRAME_VISIBLE_P certainly sounds relevant) but I don't actually
understand what's happening in there. Should I try just reverting the
commit and re-building?

Thanks,
Eric




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29518; Package emacs. Full text available.
Added tag(s) unreproducible. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 29518 <at> debbugs.gnu.org:


Received: (at 29518) by debbugs.gnu.org; 6 Jan 2018 14:50:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 06 09:50:43 2018
Received: from localhost ([127.0.0.1]:37668 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eXpo2-0002jn-Uw
	for submit <at> debbugs.gnu.org; Sat, 06 Jan 2018 09:50:43 -0500
Received: from mail-io0-f174.google.com ([209.85.223.174]:36135)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1eXpo1-0002jV-7w; Sat, 06 Jan 2018 09:50:41 -0500
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)
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)
From: Noam Postavsky <npostavs@HIDDEN>
To: Eric Abrahamsen <eric@HIDDEN>
Subject: Re: bug#29518: 27.0.50; Compilation errors grab frame focus
References: <87609rs323.fsf@HIDDEN>
Date: Sat, 06 Jan 2018 09:50:31 -0500
In-Reply-To: <87609rs323.fsf@HIDDEN> (Eric Abrahamsen's message of
 "Thu, 30 Nov 2017 16:29:56 -0800")
Message-ID: <87po6nqbwo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 29518
Cc: 29518 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

--=-=-=
Content-Type: text/plain

tags 29518 + unreproducible
quit

Eric Abrahamsen <eric@HIDDEN> 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.

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29518; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Dec 2017 15:51:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 01 10:51:39 2017
Received: from localhost ([127.0.0.1]:40170 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eKnbH-0001nB-AQ
	for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 10:51:39 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35114)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1eKnbG-0001my-4u
 for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 10:51:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eric@HIDDEN>) id 1eKna9-0004Pt-Ks
 for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 10:51:32 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56589)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <eric@HIDDEN>)
 id 1eKna9-0004P7-86
 for submit <at> debbugs.gnu.org; Fri, 01 Dec 2017 10:50:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51346)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eric@HIDDEN>) id 1eKnZK-000378-Gx
 for bug-gnu-emacs@HIDDEN; Fri, 01 Dec 2017 10:50:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eric@HIDDEN>) id 1eKnYd-0002si-GT
 for bug-gnu-emacs@HIDDEN; Fri, 01 Dec 2017 10:49:38 -0500
Received: from mail.ericabrahamsen.net ([50.56.99.223]:45594)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <eric@HIDDEN>)
 id 1eKnYd-0002bo-9W
 for bug-gnu-emacs@HIDDEN; Fri, 01 Dec 2017 10:48:55 -0500
Received: from localhost (c-73-19-4-181.hsd1.wa.comcast.net [73.19.4.181])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8565AC049A
 for <bug-gnu-emacs@HIDDEN>; Fri,  1 Dec 2017 00:31:54 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mail.ericabrahamsen.net; s=mail; t=1512088314;
 bh=5aUVnsNdKMt/CaMjQ9mBiJPFzDJqnM9HdV5qJojs5Ko=;
 h=From:To:Subject:Date:From;
 b=N/04kKmcpH1nz5BMJqf0TYI9buSYrABhDxgj8xUJiAcAkdv4naciF61MbDnK/rwM6
 kB6nksWK4oTfwB7Ec8qmSOFKFtf3EboW4ZiCY9g6LxwxXgrf0+SVHlMKfkqs3Loy5A
 DSQBJukvhxeezjHoroSNBWvdhGVVAfZiQ96r4UxY=
From: Eric Abrahamsen <eric@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; Compilation errors grab frame focus
Date: Thu, 30 Nov 2017 16:29:56 -0800
Message-ID: <87609rs323.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)


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




Acknowledgement sent to Eric Abrahamsen <eric@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#29518; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.