From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37986: emacsclient doesn't open a frame when waiting for input in the minibuffer Date: Wed, 30 Oct 2019 18:17:58 +0200 Message-ID: <8336fap5qh.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="69158"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37986@debbugs.gnu.org To: =?UTF-8?Q?S=C3=A9bastien?= Chapuis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 30 17:19:51 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 1iPqhK-000Hpa-8B for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Oct 2019 17:19:50 +0100 Original-Received: from localhost ([::1]:42422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPqhJ-0003Q8-1m for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Oct 2019 12:19:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54510) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPqgZ-0002k4-Cw for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2019 12:19:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPqgY-0007vp-7b for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2019 12:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42516) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPqgY-0007vj-4C for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2019 12:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPqgX-0002tG-UZ for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2019 12:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2019 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37986 X-GNU-PR-Package: emacs Original-Received: via spool by 37986-submit@debbugs.gnu.org id=B37986.157245229211010 (code B ref 37986); Wed, 30 Oct 2019 16:19:01 +0000 Original-Received: (at 37986) by debbugs.gnu.org; 30 Oct 2019 16:18:12 +0000 Original-Received: from localhost ([127.0.0.1]:51331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPqfk-0002rU-0d for submit@debbugs.gnu.org; Wed, 30 Oct 2019 12:18:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPqfg-0002qr-RQ; Wed, 30 Oct 2019 12:18:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iPqfb-0006f8-Bg; Wed, 30 Oct 2019 12:18:03 -0400 Original-Received: from [176.228.60.248] (port=4254 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iPqfY-0006Vy-Ud; Wed, 30 Oct 2019 12:18:03 -0400 In-reply-to: (message from =?UTF-8?Q?S=C3=A9bastien?= Chapuis on Wed, 30 Oct 2019 17:00:00 +0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:170427 Archived-At: severity 37097 normal merge 37986 37097 thanks > From: Sébastien Chapuis > Date: Wed, 30 Oct 2019 17:00:00 +0800 > > $ git clone --recursive git://git.savannah.gnu.org/emacs.git > $ cd emacs && ./autogen.sh > $ mkdir build && cd build > $ ../configure --prefix=/opt/emacs-git --with-modules --with-xwidgets --with-imagemagick > $ make install > $ /opt/emacs-git/bin/emacs --fg-daemon -Q > > Open another terminal (terminal #2): > $ /opt/emacs-git/bin/emacsclient -n -c BIG_FILE.txt > the command doesn't return and no frame is opened. > On the terminal #1, there is this output: > > ``` > Warning: due to a long standing Gtk+ bug > https://gitlab.gnome.org/GNOME/gtk/issues/221 > Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. > Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. > Starting Emacs daemon. > File BIG_FILE.txt is large (11.9 MiB), really open? (y)es or (n)o or (l)iterally > File BIG_FILE.txt is large (11.9 MiB), really open? (y)es or (n)o or (l)iterally > ``` > > Open a 3rd terminal (terminal #3): > $ /opt/emacs-git/bin/emacsclient -n -c > A new frame is opened with this message in the minibuffer: > `File BIG_FILE.txt is large (11.9 MiB), really open? (y)es or (n)o or (l)iterally` > If I type `y`, a new frame is opened (from terminal #2) with the file BIG_FILE.txt in its buffer. Thanks. Can you see if the problem goes away if you revert commit 49fc040?