From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48406: 28.0.50; Emacs stuck in infinite loop in wait_reading_process_output when opening in fullscreen (NS) Date: Fri, 14 May 2021 13:55:24 +0300 Message-ID: <8335upzisj.fsf@gnu.org> References: <5E1B46C6-1359-4CCF-B4EF-5527FB915F93@gmail.com> <83v97lzvet.fsf@gnu.org> <44BEB58E-ACF9-4704-99FF-946C21F5B675@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37605"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48406@debbugs.gnu.org To: Illia Ostapyshyn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 14 12:56:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhVUH-0009dS-VZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 12:56:09 +0200 Original-Received: from localhost ([::1]:36824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhVUG-0006ZQ-Vd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 06:56:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhVUA-0006Z3-GQ for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 06:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhVUA-0004te-9L for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 06:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhVUA-0000N6-8I for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 06:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 May 2021 10:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48406 X-GNU-PR-Package: emacs Original-Received: via spool by 48406-submit@debbugs.gnu.org id=B48406.16209897201380 (code B ref 48406); Fri, 14 May 2021 10:56:02 +0000 Original-Received: (at 48406) by debbugs.gnu.org; 14 May 2021 10:55:20 +0000 Original-Received: from localhost ([127.0.0.1]:45164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhVTT-0000MB-Mj for submit@debbugs.gnu.org; Fri, 14 May 2021 06:55:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhVTS-0000Lx-FJ for 48406@debbugs.gnu.org; Fri, 14 May 2021 06:55:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36026) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhVTN-0004Il-75; Fri, 14 May 2021 06:55:13 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3533 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhVTM-0006G4-CK; Fri, 14 May 2021 06:55:12 -0400 In-Reply-To: <44BEB58E-ACF9-4704-99FF-946C21F5B675@gmail.com> (message from Illia Ostapyshyn on Fri, 14 May 2021 11:22:30 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206511 Archived-At: > From: Illia Ostapyshyn > Date: Fri, 14 May 2021 11:22:30 +0200 > Cc: 48406@debbugs.gnu.org > > > On May 14, 2021, at 08:22, Eli Zaretskii wrote: > > > >> From: Illia Ostapyshyn > >> Date: Thu, 13 May 2021 22:39:55 +0200 > >> > >> When starting with > >> > >> (push '(fullscreen . fullboth) default-frame-alist) > >> > >> in early-init.el, apparently Emacs get stuck in an infinite loop after calling [EmacsView waitFullScreenTransition]. Please see the attached backtrace. I also tried moving that command around: in init.el, in emacs-startup-hook, all yield the same result. > > > > Why did you put that in early-init.el? why not in .emacs or init.el? > > I figured that way I wouldn't see an unconfigured frame for a fraction of a second when starting Emacs and it worked for me on other systems. Are there any caveats to it? Yes, the caveat is that you do this too early. I'm not sure I want to tweak Emacs to support these settings in early-init.el just to avoid the momentary display of the original frame. As documented, early-init.el is for stuff that _must_ be there, or else it won't work at all. > Like I mentioned, with this line in init.el Emacs exhibits the same behavior. > > emacs -Q --execute "(push '(fullscreen . fullboth) default-frame-alist)" > doesn't work as well. "Doesn't work" in what sense? What did you expect to happen and what did indeed happen? And the above line is definitely not for init.el, it's a command for invoking Emacs from the shell prompt. So I'm not sure I understand what exactly did you try with that command.