From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?S=C3=A9bastien?= Chapuis Newsgroups: gmane.emacs.bugs Subject: bug#37986: emacsclient doesn't open a frame when waiting for input in the minibuffer Date: Fri, 1 Nov 2019 21:35:24 +0800 Message-ID: References: <8336fap5qh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006ceb350596490aef" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="18535"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37986@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 01 14:36:13 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 1iQX64-0004gj-5p for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 14:36:12 +0100 Original-Received: from localhost ([::1]:39338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQX62-0005es-U9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 09:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54518) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQX5v-0005eB-S0 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 09:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQX5u-00089e-4t for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 09:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQX5u-00089W-22 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 09:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQX5t-0000e5-Tj for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 09:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Chapuis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2019 13:36: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.15726153442456 (code B ref 37986); Fri, 01 Nov 2019 13:36:01 +0000 Original-Received: (at 37986) by debbugs.gnu.org; 1 Nov 2019 13:35:44 +0000 Original-Received: from localhost ([127.0.0.1]:55213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQX5b-0000dY-VG for submit@debbugs.gnu.org; Fri, 01 Nov 2019 09:35:44 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:37274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQX5Z-0000dH-Cf for 37986@debbugs.gnu.org; Fri, 01 Nov 2019 09:35:42 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id t1so3762318wrv.4 for <37986@debbugs.gnu.org>; Fri, 01 Nov 2019 06:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chapu-is.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j1Qt8kTqG7/JSnY3jUjqhqPfILDmG05G3tpe46ZbFpw=; b=cC2BPQuxu6sv+gIXG9Ehi/BbYs/pKv4FBDl9Fj9lFwhZ2vK39ii8FfWeTaMfNivNd9 t/WOvyB8HAoc4OEt01ufOWJ5r9rS5vp8r8w4YaxuoY7CHPSsW1eLIjRPN/DwBgi5K/uD scWlKZ4sqJAJyJfve2x45IyCznHNA2mawF7RhfPqr11CU0aP48NzaSl1Btt6BhiUsPWR YsymPQ0Fxa5/6OdWzwWwi+w/GUBe4xg8GXtSTxVGBiF8xgXrzOoaYAOnvnmujirS7clB dPL8HFCwIb92xwH0y/Y+AHZ8eMwyk67/Xxdofee5bu+VrtJOY8kmsVW/ow0P53uCwS1B NFaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j1Qt8kTqG7/JSnY3jUjqhqPfILDmG05G3tpe46ZbFpw=; b=YSHM40ylq50OO8cFUGV0ZwFfce18EEdpfwGIvk5KNBDD8/1e5OUXAqwEnr0ru5ZOWJ h2pyviFNYa7GeD5RYvlgscs2EZNXfxSIU9YD3mRNvWhWstrXocAD8XrOc4Qs9106iHIm YJeEP1zhE3gWAJju3zUFpjGnbt5w5+0yPQfSEx5xq3yTYog9ZakqF5mwtjvZSFKBTPIh DihndASfS+uhoV+pRGw/6ffvTgf0ejqd4WO/EbKumUsf3NJafrRZKd2RDwkHx3cLDXs9 khSnkQmUjUAKTxhmoFhBWgtIVp/GPdBx2mGOuFdCsA0Tq/UDkTMVqEx7tHbjU2+zEkDr OPiA== X-Gm-Message-State: APjAAAWCpeLw2ml05H3sUFoOZ5S82jjMuYpAM0LPDbYeJBFNvtDZ3+xq fkV6w7kYX+4ngzmDwpVeMgnJvqu37j+hx1IaI9woRw== X-Google-Smtp-Source: APXvYqxy5uV5pQO4Aq6tkqPcAtu90piVqPBnOtTXCeTok+7YqQlRZg0Lef1JFgnuFKdROqIxiNJrTieY/l23fmlP10I= X-Received: by 2002:adf:ea11:: with SMTP id q17mr10651248wrm.83.1572615335235; Fri, 01 Nov 2019 06:35:35 -0700 (PDT) In-Reply-To: <8336fap5qh.fsf@gnu.org> 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:170610 Archived-At: --0000000000006ceb350596490aef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, the problem goes away after reverting this commit. Thanks Eli Le jeu. 31 oct. 2019 =C3=A0 00:18, Eli Zaretskii a =C3=A9cri= t : > severity 37097 normal > merge 37986 37097 > thanks > > > From: S=C3=A9bastien 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=3D/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=3Dlucid does not have t= his > 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? > --0000000000006ceb350596490aef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, the problem goes away after reverting this commit.
Thanks Eli

Le=C2=A0jeu. 31 oct. 2019 =C3=A0=C2=A000:1= 8, Eli Zaretskii <eliz@gnu.org> a= =C3=A9crit=C2=A0:
severity 37097 normal
merge 37986 37097
thanks

> From: S=C3=A9bastien Chapuis <sebastien@chapu.is>
> Date: Wed, 30 Oct 2019 17:00:00 +0800
>
> $ git clone --recursive git://git.savannah.gnu.org/emacs.g= it
> $ cd emacs && ./autogen.sh
> $ mkdir build && cd build
> $ ../configure --prefix=3D/opt/emacs-git --with-modules --with-xwidget= s --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<= br> > Emacs might crash when run in daemon mode and the X11 connection is un= expectedly lost.
> Using an Emacs configured with --with-x-toolkit=3Dlucid 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.=C2=A0 Can you see if the problem goes away if you revert commit
49fc040?
--0000000000006ceb350596490aef--