From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics 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 18:06:48 +0100 Message-ID: <34dfc125-25b2-d84c-356d-dedaabdced85@gmx.at> References: <3c9852b8-ba23-71d1-9b00-ff66b26465d3@gmx.at> <4fbc4bd2-898a-bd68-c8a5-c722da4a3e73@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37287"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60163@debbugs.gnu.org To: =?UTF-8?Q?=E5=BC=A0=E4=BA=91=E5=B3=B0?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 21 18:10:35 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 1p82by-0009Zn-Vf for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Dec 2022 18:10:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p82Yg-00073Z-4a; Wed, 21 Dec 2022 12:07:11 -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 1p82YY-0006zL-PA for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2022 12:07:04 -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 1p82YY-00019n-59 for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2022 12:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p82YX-0008R1-WF for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2022 12:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Dec 2022 17:07: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.167164241832417 (code B ref 60163); Wed, 21 Dec 2022 17:07:01 +0000 Original-Received: (at 60163) by debbugs.gnu.org; 21 Dec 2022 17:06:58 +0000 Original-Received: from localhost ([127.0.0.1]:52886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p82YU-0008Qn-16 for submit@debbugs.gnu.org; Wed, 21 Dec 2022 12:06:58 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:44709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p82YR-0008Qf-CO for 60163@debbugs.gnu.org; Wed, 21 Dec 2022 12:06:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1671642409; bh=vXhwNG9eQJqZVQn3XpOldPlkZoItk26IxcSUFRQCW48=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=gcVevsf71gPf1z6RAb7lfFrC9xyEk+/Kysdot2CAB82lF7c5kRn6sLSzzwgVPEVbm srybin15UG0xLnDeeoChdkcHS7kiq2ozP/p/3o2LQ3P+ikq+ca0OtelwQva6mJ3oaV OWkiKvjBC9RfeE6fxdXUW1pvdkGviifyTVf9ufyKAnvVEB8NXn8EAaYEa1rMr/6BAk NPFcQ5/XhsJPIJ+UYY0vAGCOLhdsXcdxCN8cQkiAAWf3NUaQr1delMwSEnoRA1q9UD ytwyYUw7/3+SGiWNfVKrDuLAw8UQXhkGccMsoPIbmwDB+3vl2nXx3FU8K1oRmpTwEf r8E8luxrrw/Iw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.1.104] ([213.142.97.86]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M7K3Y-1pFi3p0n1Q-007nxY; Wed, 21 Dec 2022 18:06:49 +0100 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:cgXRWv92HlYh8JI2cCLkVwm3z+ZbjSFjYvmSTHlqcvMudsDU90f iAw6R42HEqqBZpZWZtVTdIeOgwACsckyrai9JMHW2Qs6C0Ckki/MfJlp3xepBkpeBaKB+jm v/K0nmqaRyJV5LwBWxZt5iiI2oAfNB2j2jd8fYWRz9R44SUdHukPruGxqJwdadG3ByYCuv7 m4s5HGwIEcXZUJ8nyq3sA== UI-OutboundReport: notjunk:1;M01:P0:eF7M0zC9Z3w=;/w4z3I2zaa5Jkg271c/gP6M77gh L/BHQ7alp8UOG/S2IZPgzD6wBjLNeoX5IFxvXfSVexhdkgzTkO6xR8b1pT1bVTqHneS0K8PIy NAWoJfWsLcGM+rEj3nOaUp4ybEC0O8Sn25gxrRpM/RMpjPZLAYiK1Lq7CZMHEqD7+mzDQL45P B6lyRhZmFP7GXYe7aWRoseJu4w4VlK7wqNOI86H+q9W4UvCAyAy9C7bX3Bk7gryL680XPw+ON Ll1exdYgrna2IPQRlSk0Puji/pK12gw0lQRKgV4mj6KaRV8VThN5Q42Xx2OWJY85GyAMB3ceX fs8gvEDMuM3azUvyu8CXOy4i5+fec1GsbGEuu+bddp5NT0S60soFhuiGNjmVBeLsAtq0rhWJr wsX+DaonlT8/iBflLhL59DKEjWdX+8pCb5X4Z2czVCe+ZwYtgXBZbPjmkPKxU+LTnop0DKkIf +HfVfZDBPcRhuU8Qp8l9R6Jzri3VvOo04ue3jcF91rSfJXQplIar6jvsXAtEdgeaGVxEwnO3y 7Bev5l/NO9Z56IvD2q+RV28KwmHNVeX7oAxyvDU71eACaAar9j4PHBDq46rOkgDm3IubO8UtF iO54EQMYHAjkQLDS+D4jSeTrEt9EvI+Eh+sK8x8x6mETn0Vyl+FaChvJwIahebo0Rjm4+bp/g HSQEZNA2c+sJFfd3Qn9pt6i1l38l+hh3Sd/pZ6ZRP2yvnYvPtHEtOQZ55a5u3w5biwh3HAttn OsZEHBkyGBwZ3/i9f7UBSSih7zMBRyeO+HCJSesorcLYS+WZOr1LYcGOiLKD+GoskHJfkCw0 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:251608 Archived-At: > echo "Please make sure 'clangd' has installed!" Sorry, but I don't have clangd installed either. But let's try one thing first: IIUC 'winner-save-old-configurations' can fail in the indicated way only if it tries to insert a dead frame. So please try with the following trivial patch: diff --git a/lisp/winner.el b/lisp/winner.el index c8354b18be..9fd86ae23f 100644 --- a/lisp/winner.el +++ b/lisp/winner.el @@ -178,7 +178,8 @@ winner-save-old-configurations (setq winner-last-frames nil) (setq winner-last-command this-command)) (dolist (frame winner-modified-list) - (winner-insert-if-new frame)) + (when (frame-live-p frame) + (winner-insert-if-new frame))) (setq winner-modified-list nil) (winner-remember))) I doubt it will help much but at least we can exclude one possible source of troubles. martin