From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E5=BC=A0=E4=BA=91=E5=B3=B0?= Newsgroups: gmane.emacs.bugs Subject: bug#60163: 29.0.60; Error in post-command-hook (winner-save-old-configurations): (wrong-type-argument frame-live-p #) Date: Wed, 21 Dec 2022 22:50:35 +0800 Message-ID: References: <3c9852b8-ba23-71d1-9b00-ff66b26465d3@gmx.at> <4fbc4bd2-898a-bd68-c8a5-c722da4a3e73@gmx.at> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000078118b05f057ad82" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17632"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60163@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 21 15:52:20 2022 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 1p80SB-0004Og-Dg for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Dec 2022 15:52:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p80Rw-0006in-D2; Wed, 21 Dec 2022 09:52:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p80Ru-0006gj-Bj for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2022 09:52:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p80Ru-0006h7-3K for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2022 09:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p80Rt-0006vV-Tc for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2022 09:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E5=BC=A0=E4=BA=91=E5=B3=B0?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Dec 2022 14:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60163 X-GNU-PR-Package: emacs Original-Received: via spool by 60163-submit@debbugs.gnu.org id=B60163.167163426826611 (code B ref 60163); Wed, 21 Dec 2022 14:52:01 +0000 Original-Received: (at 60163) by debbugs.gnu.org; 21 Dec 2022 14:51:08 +0000 Original-Received: from localhost ([127.0.0.1]:52286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p80R1-0006v9-DT for submit@debbugs.gnu.org; Wed, 21 Dec 2022 09:51:08 -0500 Original-Received: from mail-qk1-f178.google.com ([209.85.222.178]:34762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p80Qm-0006uf-Bc for 60163@debbugs.gnu.org; Wed, 21 Dec 2022 09:51:05 -0500 Original-Received: by mail-qk1-f178.google.com with SMTP id pe2so6886848qkn.1 for <60163@debbugs.gnu.org>; Wed, 21 Dec 2022 06:50:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DRAIX/GJI/3Y3oJV39iHT3MI2x768XQuVEnqJC8SQlg=; b=JxOp3KBGhQrxRIPmbChpztOWhLEA6iWrAXtIUfv/W5ZujI7GX2SB/LZ3zH4S9H6MIH 2KPLH5GYpdpFgXtSWcOhaH/IE0BWhA0u24OhamEyFFUdZ1BvTlF5cB9mNvuDQDoqig2/ hilBM/fHYWtewL5vS7bOHGT/W0grPsBvQhxWg/0TAmVMpxs6Ua25GrN2nEEx1gYVw97d 2cWzwJCyeE/7mLpp2wAjiGTh02YGDf85u70npatbTtizW5BLlXre37SQgmzFqYLTI8km YZQAlkS9Ex85KSSFchh4Pd40Ckl4wfaDe/uT/vp0DszMyDxHW3p594xSQjSq+rqdtgow 0chw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DRAIX/GJI/3Y3oJV39iHT3MI2x768XQuVEnqJC8SQlg=; b=ZmVub26x5Z90170vKmhNEKqSUCSg+xlWWLTOVc0FnQbs06AZ8yftH0+33SIPpgV1g3 MNHfuWxGqZ/oEFzy2R7QdpiXxTmcQ5dL6Kje+WMku3HArvkZ4KKzYH/2Z76O2+hb/Hib jxrPohDYKTkC8WpSO0kwjU+ApZ5ZXaXSLFssraXnvcpPnCHDJybPjeG83QZlvYFkIFGd 1CeTCIcuozWmJ57i/K8E/zYyrtuQ0ZottCCYfvEslO7zU6l4wXKXJEHsdgJLWSPD3Mbt 9YWKKiYpy5hdSc2YizEiMWUUFUROzCOo9hhR1edsiUFB77xkKV5p3sek67q2fYNEFazy VRBQ== X-Gm-Message-State: AFqh2kr2fSDt5m+zwFD1JJwCnijFG60b/TiUvWeMB7zcZTm9PDt5/MWi SuVrEGO9x/43PVOHLm6g8TYgEZ50ucfKsKlGkhM= X-Google-Smtp-Source: AMrXdXvBUkFoRV49qFwDo8Xsu2PUCqPXTcIsaCBQPHod+dkbenywHXsJdCADTSg1hWBCQEysmyOuJlXh9fM85cy7os4= X-Received: by 2002:ae9:ed86:0:b0:702:4c8f:8316 with SMTP id c128-20020ae9ed86000000b007024c8f8316mr48143qkg.533.1671634246699; Wed, 21 Dec 2022 06:50:46 -0800 (PST) In-Reply-To: <4fbc4bd2-898a-bd68-c8a5-c722da4a3e73@gmx.at> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251604 Archived-At: --00000000000078118b05f057ad82 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, martin. There is a simpler way to reproduce the bug please replace code in *run-me-to-produce-the-bug.sh* with ``` echo "Please make sure 'clangd' has installed!" cd demo-code echo "int main() { /* M-x lsp-bridge-code action */ const int place_cursor_here_then_M_X_lsp_bridge_code_action =3D 1 }" > code.c git init cd .. emacs -Q -L ./lsp-bridge -L ./posframe -L ./markdown-mode -L ./yasnippet demo-code/code.c --eval=3D"(require 'lsp-bridge)" --eval=3D"(lsp-bridge-m= ode)" ``` and run *run-me-to-product-the-bug.sh *to reproduce the bug in c language. martin rudalics =E4=BA=8E2022=E5=B9=B412=E6=9C=8821=E6=97= =A5=E5=91=A8=E4=B8=89 17:22=E5=86=99=E9=81=93=EF=BC=9A > > I can't interact with the minibuffer, and I can't type in emacs also. > > Then this bug is more complex than you described. What does > > wmctrl -l > > tell about Emacs' windows? Is Emacs itself busy looping? > > > I have attached code to help you reproduce this bug. > > Prerequisites: Compile emacs29 with option --with-pgtk. > > Sorry but I have neither ts nor npm installed. > > martin > > --00000000000078118b05f057ad82 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, martin.

There is a si= mpler way to reproduce the bug

please replace code= in run-me-to-produce-the-bug.sh=C2=A0 with
```
echo "Please make sure 'clangd' has= installed!"

cd demo-code

echo "int main() {
=C2= =A0
=C2=A0 /* M-x =C2=A0lsp-bridge-code action */
=C2=A0 const int p= lace_cursor_here_then_M_X_lsp_bridge_code_action =3D 1
}" > code= .c

git init

cd ..

emacs -Q -L ./lsp-bridge =C2=A0-L ./= posframe -L ./markdown-mode =C2=A0-L ./yasnippet =C2=A0 demo-code/code.c --= eval=3D"(require 'lsp-bridge)" --eval=3D"(lsp-bridge-mod= e)"
```

and run=C2=A0 run-me-to-= product-the-bug.sh=C2=A0=C2=A0 to reproduce the bug in c language.
<= /div>

martin rudalics <rudalics@gmx.at= > =E4=BA=8E2022=E5=B9=B412=E6=9C=8821=E6=97=A5=E5=91=A8=E4=B8=89 17:= 22=E5=86=99=E9=81=93=EF=BC=9A
=C2=A0> I can't interact with the minibuffer, and I ca= n't type in emacs also.

Then this bug is more complex than you described.=C2=A0 What does

wmctrl -l

tell about Emacs' windows?=C2=A0 Is Emacs itself busy looping?

=C2=A0> I have attached code to help you reproduce this bug.
=C2=A0> Prerequisites: Compile emacs29 with option --with-pgtk.

Sorry but I have neither ts nor npm installed.

martin

--00000000000078118b05f057ad82--