From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71761: 29.3; Emacs-Lisp menu display is incorrect during Edebug Date: Sat, 29 Jun 2024 15:47:30 +0300 Message-ID: <86r0cfj4pp.fsf@gnu.org> References: <87ed8m9j4h.fsf@gmail.com> <87cyo1hrb6.fsf@jeremybryant.net> <86cyo0j9ff.fsf@gnu.org> <87sewwgctq.fsf@jeremybryant.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18739"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71761@debbugs.gnu.org, tpeplt@gmail.com, monnier@iro.umontreal.ca To: Jeremy Bryant Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 29 14:48:16 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 1sNXV0-0004aM-M3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jun 2024 14:48:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNXUw-00036E-7D; Sat, 29 Jun 2024 08:48:11 -0400 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 1sNXUo-00030H-Dw for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:48:02 -0400 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 1sNXUo-0002DJ-4e for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNXUn-00078c-Ov for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2024 08:48: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: Sat, 29 Jun 2024 12:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71761 X-GNU-PR-Package: emacs Original-Received: via spool by 71761-submit@debbugs.gnu.org id=B71761.171966525927391 (code B ref 71761); Sat, 29 Jun 2024 12:48:01 +0000 Original-Received: (at 71761) by debbugs.gnu.org; 29 Jun 2024 12:47:39 +0000 Original-Received: from localhost ([127.0.0.1]:37395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNXUR-00077j-FJ for submit@debbugs.gnu.org; Sat, 29 Jun 2024 08:47:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNXUQ-00077W-0H for 71761@debbugs.gnu.org; Sat, 29 Jun 2024 08:47:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNXUK-0001Ov-VO; Sat, 29 Jun 2024 08:47:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MMJpbVgavrVUJ2hHxK6XsBtO6vVddwv6PdpJEQB9nGM=; b=haGuf2z3ecg/ MH1Th+VK7HS5XWyBZP6Q2VRPEdjLqqUfzaRrwPxOQn5pCgJOJGyrPZYAY4p+6eJv4tCbKHX/njokV op7C9LGq47y7JponuD7mf6tqe8QYzsKOBJdPcCxYe7sLLzOPt4RsypCCbrqxo/NUH76f4Mdp+9bn2 /z3eAe5HWYdp2SC3phTplJcdIZkaLzUIj3EmiEXKC4t5D0Wq4nKaw7KQ8EmBc3jYkRXXKqK/aYw4x HHaUPGwPvGXmIg/JUGqu8ef2TADmZe7Jxh/5Rz+BF12f4bUav6BhZe1Pl1IVmz6e+8Tr2Ykg0NZDh Ot6uwlqgXwFbhycbavdJdg==; In-Reply-To: <87sewwgctq.fsf@jeremybryant.net> (message from Jeremy Bryant on Sat, 29 Jun 2024 13:20:33 +0100) 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:288126 Archived-At: > From: Jeremy Bryant > Cc: Stefan Monnier , tpeplt@gmail.com, > 71761@debbugs.gnu.org > Date: Sat, 29 Jun 2024 13:20:33 +0100 > > Eli Zaretskii writes: > > >> > Please let me know if anything above is unclear or if you are unable > >> > to reproduce this problem. > >> > >> The following may help to narrow down the problem: > >> > >> In Emacs 29.4: > >> I am able to reproduce the bug in Emacs GUI > >> But in Emacs TTY (emacs -nw), the problem seems absent, the menu bar > >> appears correct. > > > > That could be a bug in TTY menus, or maybe a side effect of how the > > menu bar is displayed there. > > I fear I wasn't clear in my diagnostics. > > It appears from my testing the bug is in Emacs GUI, and the TTY menus > are OK. I understood that. But are you aware of the fact that TTY menus use the same code from xmenu.c that the X build without toolkits uses? My point is that the fact that TTY menus don't show this problem is because there's a bug in xmenu.c which somehow hides this problem. After all, when the code which traverses the menu structures finds a menu item that already exists, it could start a new pane or it could overwrite the existing one. Which one is the buggy one?