From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46990: 28.0.50; popup menu not navigable via arrow keys on lucid build Date: Mon, 20 Jun 2022 18:17:47 +0800 Message-ID: <87ilovocz8.fsf@yahoo.com> References: <87pn0alx4d.fsf@yandex.com> <87ft15dici.fsf@tcd.ie> <87wnuhlnwd.fsf@yandex.com> <83im5yonpn.fsf@gnu.org> <87zgzassr8.fsf@yandex.com> <83czw6ojyd.fsf@gnu.org> <9914d67ab1e37ee22af8@heytings.org> <87k0qdsvbs.fsf@yandex.com> <87o7ynpwn7.fsf@gnus.org> <87bkunpss9.fsf@yahoo.com> <875ykv4q53.fsf@gnus.org> <87wndbodkd.fsf@yahoo.com> <871qvj4pgc.fsf@gnus.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12445"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Colin Baxter , Gregory Heytings , 46990@debbugs.gnu.org, Eli Zaretskii To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 20 12:26:14 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 1o3Ebl-00032C-Pc for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 12:26:13 +0200 Original-Received: from localhost ([::1]:33124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3Ebk-0001CS-Et for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 06:26:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3EUo-0006eX-HT for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 06:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3EUn-0007Wp-UL for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 06:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3EUn-0003ie-Ow for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 06:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 10:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46990 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 46990-submit@debbugs.gnu.org id=B46990.165572028814230 (code B ref 46990); Mon, 20 Jun 2022 10:19:01 +0000 Original-Received: (at 46990) by debbugs.gnu.org; 20 Jun 2022 10:18:08 +0000 Original-Received: from localhost ([127.0.0.1]:54443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3ETw-0003hR-9M for submit@debbugs.gnu.org; Mon, 20 Jun 2022 06:18:08 -0400 Original-Received: from sonic305-20.consmr.mail.ne1.yahoo.com ([66.163.185.146]:34120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3ETt-0003gy-J6 for 46990@debbugs.gnu.org; Mon, 20 Jun 2022 06:18:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655720279; bh=a3WgUX/QW2Bl9jYcq0WgAVk7VfbI6HjUY2KggpvK/9E=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=c6KbhFNsp7QLi7GTmcbVsbQbTU9Pd7OiGprQoR/7Xlm/TSkqsk7hBsCxMknYomDq2GwbBWGpl/2teKngNzOx4bVtBkYwublQpCpfUiOb9/3uNcb9r1+EQGhQiawuF2yqiHw2sBqGX07wVet8VauWBxAVHmhweEEMUlMQR/9+bJyhBumyGRIIyB8GlP3/IJusTu+HcU54z+yzG15kLNK9jFgo4Op2nXAOUETe9z/A7M/vtmAfdwVFWOFqOHGwdKMTgMeZthj98YzvhmagHB2b8Tq30FNAnnQLnQhXW7fIgk3VhXzu2eSipyHRRgpm4Tj5QTLPgqGB3+wIHwtiv9azEA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655720279; bh=tuG4nffEYRZ3s23xJFtSgAOxtbnR+HbC80jUBnRAQBn=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=abpFEXEvvo0Ty4aGDNQ3rov10F4Mmk4LTQZNnWsIbBXY5qEZl3qkYYJm8Lt6qVyOB7IAmNF59xdA7gvGY63qdG8foT+A+Zo/q2yngRfRPIo+95u+kAPiiEPC71tLyU1cudSiZRijGNkmJ8aRoOX16J+PvwK0dtYry+XmlT9cvIQ7r6X/RIbaHCuwk4VpjO8YBNsEK9vFPbXXeO8ZFfnKp4bOr9K7KZKysuiowogH8yHD3HhHz5mBMx4M3B3tOHhXxx4VHYHeS/2OYj+UCglRqQxgvohxvsgtkUWalckiL52t9uS3pAHzjCazZYtVwam5lyyQ6TjTJd2E/r3HDrADmA== X-YMail-OSG: N4oORz0VM1kDd0Zq629R9RaZb_vc5nEGxqk5nx9w2UMQyVZXeB75L5ivDxTBkiJ rNe.Ro1upMB2P.aawiURwVhFCXtC5Y0utJzWd_NrK9kV4AMSrx_z0uvAGMf0DgoBAgyLcFkH4NF6 xPFp5s.y2nyTrf6qAN6a4s0q2rIuZ4jluG0kVTa438Qtd7nwooUZJAFMUD1zuFa_2nd73Bmgy6CK iw0VoFFYlIG5jVFSeV6pfEB36SVA7OrF1k5SI7al5isAQAaQ0i0k2nclhC35a3XzijGXvyP1Nmnz DMwEI27mwxf7Z8BhZ9HPZo0iuohLIkkBkzmwekmSqgj0Ajfbq3HC9iDMc8iSNQOqtxzxW04QPMm9 76Uba5QBlnxE7a9G8qhyamjd1iHCcNGzIoIEKza0ulBQZDjob1E0V.GC.2aXpgs9SFM3M0O6NsJK 3M6ZIH8mgymUSzydAs70PrjRLMkztwwWZKhF1maHLBNmBvS3fHMdeSjH_yPDBMvVxxhZMRmUpJBA kaJiw3QwF61HD.UxA7U0ffpZWBz8ZxDgs0MWclur5C0T5IVCExw.EBYd8GLLZojgvhJ7y5QnmrjO UbfjKUdURKnfRNoglggCGi8VZau5sWwZDezxxuIEKwprvU9zhs47cBJgDLrFjZVuI5ppwVSWuhoI 7h1oUVqBtySsV8ZO7br4DBLbphfSnqdTAt5VL0UWryRwmexsb5LaIdpLRerQ3VpXMFPLn0znG674 spENqZGduPa0ERPgCnlyofnt5UW.EFEWKprwwNQZoFvWZCcqTHREgxn9VQ7GJpUawdq07FVAzV2Q W320FNnlmac9VLUNj0eWZVcyzGPRs88.uEIlZJgovV X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Jun 2022 10:17:59 +0000 Original-Received: by hermes--canary-production-sg3-559fcd5995-7tsmv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 05c2eaf3b328d9479f3ffab78b2b420c; Mon, 20 Jun 2022 10:17:53 +0000 (UTC) In-Reply-To: <871qvj4pgc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 20 Jun 2022 12:08:35 +0200") 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:234863 Archived-At: Lars Ingebrigtsen writes: > I guess that makes sense on some level -- -Q doesn't control what Gtk > does with the toolbar, for instance. It's still somewhat odd-looking > for Lucid -- is there any way we can stop it from consulting the X > resources, or is that completely out of our hands? It can, but I'd rather not go down the rabbit hole of modifying the behavior of xrdb.c based on the value of `inhibit-x-resources'. Different versions of Xlib have different bugs in that area, just look at this mess in xterm.c: /* Whether or not XCloseDisplay destroys the associated resource database depends on the version of libX11. To avoid both crash and memory leak, we dissociate the database from the display and then destroy dpyinfo->rdb ourselves. Unfortunately, the above strategy does not work in some situations due to a bug in newer versions of libX11: because XrmSetDatabase doesn't clear the flag XlibDisplayDfltRMDB if dpy->db is NULL, XCloseDisplay destroys the associated database whereas it has not been created by XGetDefault (Bug#21974 in freedesktop.org Bugzilla). As a workaround, we don't destroy the database here in order to avoid the crash in the above situations for now, though that may cause memory leaks in other situations. */ #if false #ifdef HAVE_XRMSETDATABASE XrmSetDatabase (dpyinfo->display, NULL); #else dpyinfo->display->db = NULL; #endif /* We used to call XrmDestroyDatabase from x_delete_display, but some older versions of libX11 crash if we call it after closing all the displays. */ XrmDestroyDatabase (dpyinfo->rdb); #endif Besides, it would be slightly more annoying to debug the Lucid toolkit that way.