From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74496: 30.0.91; fullscreen frame set with F11 is shifted when ctwm restarts Date: Wed, 4 Dec 2024 10:52:37 +0100 Message-ID: <0c5b91ad-8f43-42ea-bbeb-5b9cdcb262a6@gmx.at> References: Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------r5ziOF0mbRMtc05ZwjBQ14B7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34552"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 74496@debbugs.gnu.org To: Van Ly , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 04 10:53:20 2024 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 1tIm4N-0008r0-P9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Dec 2024 10:53:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIm4B-0002RU-O3; Wed, 04 Dec 2024 04:53:08 -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 1tIm47-0002RB-8S for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 04:53:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIm46-000551-WB for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 04:53:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=WhX5x9WPF9jKbFJ07uq3MX0BZpawxkI/Vms3y59iLOU=; b=PUEsWYxtLS+rXnOSwzPh2ED3NZbaniFClnZgWqrDWQIGjDaVk6wjLo0cYPlfCDLkB4Yl9pcLvdp0qKm/RtII/IDxSq25k1YzA8gUQrIZiz8szejwNf/A9154EQKKZ6BNyORO3b4m997aXui2CG2ppEZ6m6EsQRVnMcHKYeo9vtzWyBF3/WZzPfIiEGn0E0nkwgO2o2xkSYZOu5zqJDXe1xutQdS93nWehAjaNhKZmc3OpMvRvQRj0WlRAtYt8KwB1RTatUOvc9QZZWyDCKMrnngTHRi7tOZkAw5Lv9Oxn/ryVvKhccNwjsxaCPrT8pz9y0LjvCFg9RnasdkQIls7Vg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIm46-0007Xx-JH for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 04:53: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, 04 Dec 2024 09:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74496 X-GNU-PR-Package: emacs Original-Received: via spool by 74496-submit@debbugs.gnu.org id=B74496.173330596928974 (code B ref 74496); Wed, 04 Dec 2024 09:53:02 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 4 Dec 2024 09:52:49 +0000 Original-Received: from localhost ([127.0.0.1]:34312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIm3t-0007XD-0L for submit@debbugs.gnu.org; Wed, 04 Dec 2024 04:52:49 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:60647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIm3p-0007Wp-36 for 74496@debbugs.gnu.org; Wed, 04 Dec 2024 04:52:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1733305958; x=1733910758; i=rudalics@gmx.at; bh=WhX5x9WPF9jKbFJ07uq3MX0BZpawxkI/Vms3y59iLOU=; h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version: Subject:To:Cc:References:From:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=FKouoG1yOlb4yH08QWSW3bX9pnT8+hQGXNJn5pEGBybA+pnJLe3AxCZt2kOuOLdA 2dVXi/KK8tmgRZOOa1jvhZi9eHDsG7qboEJHAzccDqOx8NpnBBfsbjGTPZ95vQ+MN xYhD2cDWrp2lHaUmo7X2PZVyj0N9L2hsgUos8poWbLs3+paU1pKl0rszksBff5AE+ tpA2oXj8YmqdTWe+mZH7ogMltR8A06BYbGHdBWmP796n4M1FewhrCbNwNQyBlgCHN n5opXfysiuSDuRMYVzo5GD9q0L8qjbCNW/JoRXlhars51ZDfsY7E3PNa3JdZ/yRqH zov6SIKkKuqorqGC7A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([212.95.8.217]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MK3Rs-1t55zc2JKw-00TDwK; Wed, 04 Dec 2024 10:52:38 +0100 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:AOGhWIcBs6x03xHYfGEf9RrwpF3UGamVNEvoGytzNLV6DhuFrhz b39A5K5UowSCpgZsh7RQhS+yAidlGQOEaaP4thGmokC+aNe9yQovMxSUkIkr6uaWwGFD+B9 PfrQQJKNLwFhscYTFhK3qqHicFmWS4D3igVs0yIAt1hj7HTjjc/KK5jYWyBs8YfXd6phybL vWl6uvqxud9ZV0DL+50zQ== UI-OutboundReport: notjunk:1;M01:P0:EpP5nYJ9B4g=;xNv9kw28NhWFxIy+Qr5IyyhsZEb lYyXHG3wcqf/yNIKUI9yHlKibovlCT4Ntg2dXpM8FHh2JQ4+Frol1dg0xSgn3YQ9jiWt8OIvS BQ3TPK+6AeFG3AmE2MUgN76retiwqMRGjFdxzveeywMRtJV5HA01swrtVPD4Sw/n+YR+R4p3J 1xBobQHEamNYl/rj71IKAvF3WsNJbQ7ql0W5tHhMHS+uxuKva1D0J+TG/nirh7TYKDRhDAFAM GWvc24Jo4cmv3X/QQCpbazGeiwYXE/B0m/I4amV3R93g6of8VO1PbPLvvLPGbhjmWIt46P8ZF s3/NLKFcR+BCYHZgjRU5x/fTupmVFqMIL0CDLLC1l0L1UcyH6yJqelS34tnbYa0Sq5jkAdqP7 mIXq58IsTn4dsgU2/zab4pXqDns06vxItx/4DY/3FQF28+LCDFiglhIagF8323y2PNuJwn09A 7XflILVnGgsBITS9QRI8m47tSFOpi80tFPLbwPB3im82nSao9v83yxYok8a7FhrAGJLrhSpxM l13DWz2SmEdiNoTZluDmu8K0TWfRsHPzs8VjI/eM44zWbJZU5bUqdLg/tMnEIUMBSmXWYYfJn v5zYfRb61utu60gd6A0LxxNmJxQwC2aDAWZmCoAYoqmex6owLhvry5NvcDmH7BbDF6d4xMTHH 2jwuls3IDelel4RN1Dg3EKjvBjgjOV7JBw14nQvVZVBwspjWlUugucIFjrieIPI9+iRBWL6IT yuvzlqK0ZfFhamdMRUj/7+2nQzIpoCIwe6zAbLx+BlpfqlJr9qoooBDUnln2DefQdrLVYyOd 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:296402 Archived-At: This is a multi-part message in MIME format. --------------r5ziOF0mbRMtc05ZwjBQ14B7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > 33 (gdb) condition 1 lval == Qnil > 34 No symbol "builtin_lisp_symbol" in current context. I see. The condition would have been condition 1 EQ (lval, Qnil) but lval is not a C variable. So it won't work without modifying the source. I have no good idea yet how to do that. Setting these breakpoints unconditionally is out of the question - we want to catch the transition from Qfullboth to Qnil here. Maybe you can try the attached diff (it's against the release version) and set breakpoints at the four lines I marked with a // break-here comment. Start gdb via run -Q, do F11 and restart CWTM. Here you have to switch to the debugging Emacs (either you have it on another workspace or you find an equivalent of Alt-TAB used by most window managers) type "bt" and post the backtrace here. Maybe it will let us find out why that parameter gets reset. martin --------------r5ziOF0mbRMtc05ZwjBQ14B7 Content-Type: text/x-patch; charset=UTF-8; name="break-fullscreen.diff" Content-Disposition: attachment; filename="break-fullscreen.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NyYy9mcmFtZS5jIGIvc3JjL2ZyYW1lLmMKaW5kZXggZjYwNTNmY2Ez ZWYuLmU0Nzg3YWUxYmY1IDEwMDY0NAotLS0gYS9zcmMvZnJhbWUuYworKysgYi9zcmMvZnJh bWUuYwpAQCAtNDUzOSw3ICs0NTM5LDExIEBAIGd1aV9zZXRfZnJhbWVfcGFyYW1ldGVyc18x IChzdHJ1Y3QgZnJhbWUgKmYsIExpc3BfT2JqZWN0IGFsaXN0LAogICAgIHsKICAgICAgIExp c3BfT2JqZWN0IG9sZF92YWx1ZSA9IGdldF9mcmFtZV9wYXJhbSAoZiwgUWZ1bGxzY3JlZW4p OwogCi0gICAgICBzdG9yZV9mcmFtZV9wYXJhb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