From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56155: 29.0.50; Options menu, toggle menu items not updated Date: Wed, 29 Jun 2022 01:38:10 +0200 Message-ID: References: <83pmizele6.fsf@gnu.org> <12D696D2-1502-48DC-8FD7-20183C47EDAD@gmail.com> Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9078"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Eli Zaretskii , 56155@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 29 01:39:12 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 1o6KnY-00027i-8q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 01:39:12 +0200 Original-Received: from localhost ([::1]:37558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6KnW-0000qx-TB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jun 2022 19:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6KnO-0000py-24 for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 19:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6KnN-00038T-PH for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 19:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6KnN-0005az-NQ for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 19:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jun 2022 23:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56155 X-GNU-PR-Package: emacs Original-Received: via spool by 56155-submit@debbugs.gnu.org id=B56155.165645950421461 (code B ref 56155); Tue, 28 Jun 2022 23:39:01 +0000 Original-Received: (at 56155) by debbugs.gnu.org; 28 Jun 2022 23:38:24 +0000 Original-Received: from localhost ([127.0.0.1]:56640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Kml-0005a4-Mn for submit@debbugs.gnu.org; Tue, 28 Jun 2022 19:38:23 -0400 Original-Received: from sonic306-21.consmr.mail.ir2.yahoo.com ([77.238.176.207]:41064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Kmj-0005Zr-C2 for 56155@debbugs.gnu.org; Tue, 28 Jun 2022 19:38:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1656459495; bh=Fx6lNkN1iCr46+EN6mkuDJNNMinT0EPsmxvG15in33w=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=CWCrHtHtlrteneJfjM0z+padWmaRjrZcIT4KkWJ/uFcteZTUkox7OP2v/6zGqWIB6qyQvW3O4SXOubtDyjx0F6gqUhJ0MpgLj/GmpIidQcsibAYlmHSBHGFxPGw/epLAJqTJQwN8czmf+p+9brecJhkk8pMQibrlWBKz2UGAM1lsJw99Fl9/7yEbFTXS5nmgBPGiiipd+pTiMH8VFbtV3YbT70BkJVEQPKeizSiUi1cC/p3Mcoqr33gMPueHUsHXUdz6SkgGNOuxHK5fB4xxPJZTks+9PeQSb42LjA+NLVsWBovXeUqa4u8gZ/CVclF4duYX8VIwjB5UFKZC8JIDVA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656459495; bh=meKxwJB9D2wdZGAEE06eHJZMO8MXmR6wkfZWyJfl+Kf=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=JeNOidhTkM/uxcdw1AMAK2Pw/5sxGo7FUFyu/2qoZBrV/BNlA4AdPUiRNcs7+14Bxe7vhMmRc5t9oEJXL6H6gMOzjLqrI/HwDO3/mULZyiXtO6HTQ3CGS8ycC6oZcHHlQhFYKl9O5BcvSXhKlZBXzoc9aGdbvynxWtIGrP01RUgJH0RdnBeYa8A4OhVU26uIjtcS5TMt/6D/WONiY/45PsyANSy12EpWV1sMmdziQTbHtbFjeOSEhDOX2tHwmU7sP37ugOq3/CdTsEkYFZ14PUwtKHmaCXm+u3aA7Cuj39B8O+BTGEViS18yTDQIp5UfxPL0fnvLSr3d1XYpdE2WfQ== X-YMail-OSG: SilIO4cVM1k3caVPd6dCEZPZZZlhCgI3boC_bygTFbAUAuQBtq.VNIPGE1FLCUU kxi_C04IFSt9JdqHQjgiNyPn7xqdigB3.3skDFTTl5jpvbK1kvqC7OfJQfRIDKWKMfLtJ9bhIGXZ J13kHz3JpXfSzPvotLykI7NhmnfCooSMKtDS43YFKMMeMh99phcg3mQ8dboDxIVcA2668XuCdWQ4 hh6dXLrecmBraF6XXSqT2UAZF3P69R1.k5qQOZ7iUfed7EUyL0f7L65uLOnynmtQZiJnqap2Qn1a pxOIMJ.m8QiG9Weqn8vyVeGNz3PEXOXtGhUk_14PVdZeasnvLWB_wQV_fMDYcFKHREU9f2E33rm1 cYQ2WUqHZhvYIn.fJvsjWjOagUDKUXUg7HytIJOfKGnmu.QK50uaMKb1uLT_ZTn1Chf.E41XKpFE OWCpBAtJM4OcWWS1uP_A6gCRqmPJM0xumqId5qv8KfuNrBM84ERhk96aMNKiSZJdwgNqfS3IKrmE thvVM5QUgh_Z_mBY.U4_RbDq8W91t3AKOgwDDlrSmhFfTV910sK0DKBJjbimlfDIgmiPH0uI93zx tH5ko9ZWBR0YfN06Jo9pIMu8nn_oHIno3trQ4ZolkRVdg5efb2z6Igzv4BYIHn38isaphu6L3Fh9 yqYUO1UNyPIfj3wTr4ouiev.13bgkz3HvS14w_Ee.c0ZgJpLzhPW8wxwyKybvfQl5R893esKkkQA 3HzVJyOHc4qMVYO239tFue2n5d_O3kGVqTIjIcI5tp7cGOKfpLJ554gJEEy7XbMQYE1UQGN38Muh sMQCkTooseyusTGqKx4Sx2ny0ZzJyxIYDfHmol.rhY X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Tue, 28 Jun 2022 23:38:15 +0000 Original-Received: by hermes--canary-production-ir2-74b4d6d794-9p54l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9294b73491ac5f29e5fa0eae8aac9a79; Tue, 28 Jun 2022 23:38:11 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Tue, 28 Jun 2022 14:21:49 -0700") X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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" Xref: news.gmane.io gmane.emacs.bugs:235579 Archived-At: Stefan Kangas writes: > Gerd M=C3=B6llmann writes: > >> What I don't know is if this can only be seen on macOS. On macOS, one c= an >> select an option from the menu bar, re-open the Options menu and select = another, >> wihout Emacs running anything in between the two selections that can its= elf set >> update_mode_lines. If anything else sets update_mode_lines, the ill eff= ect will >> not show up. Just clicking in the text area runs a command... > > FWIW, I can reproduce the issue consistently on my macOS machine, but > not on GNU/Linux. That's interesting. Could you put a breakpoint on that C function on GNU/Linux to see if it's called, for example, when you close the menu? That may be the key difference between macOS and the other operating systems. I don't have a GNU/Linux system at hand right now, but I can investigate if needed. (BTW, as an aside, getting a Lisp backtrace using LLDB on macOS is a bit time-consuming because of all the manual steps to print the pointer structures. If I have time, I'd like to write an .lldbinit file with LLDB commands to make this process much simpler, although I don't know how many people are debugging Emacs using LLDB here.)