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#72733: 29.4; Warning message while attempting to view customization buffer Date: Tue, 20 Aug 2024 17:32:51 +0300 Message-ID: <86zfp7uuwc.fsf@gnu.org> References: <878qwrl1k6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4754"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72733@debbugs.gnu.org To: tpeplt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 20 16:34:59 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 1sgPwp-00010Y-3d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Aug 2024 16:34:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgPvk-0004VW-4a; Tue, 20 Aug 2024 10:33:52 -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 1sgPvD-00028g-O9 for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2024 10:33:26 -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 1sgPvD-0003ba-ES for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2024 10:33:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=tplNLgVo83OJstgu+vV2WkXAPylVAbAN94iXLwQafiA=; b=WWeGGd67a1Qhjvsdft+5mxU0S+IWJ2eLLpPZJ/zqoat8YzsPR5nmOZxeWRHZVEW2XS924X/pmIoZbrvVz8PneJ6HUoUVfaJM2ZtQLCV4+k2l9uB99ADmzRscd6iKsz6u2EEplKMfxtFm/XdIVfLJUsJ6Zyedl6OneVFCQU0GOuhHBG6R3lptd9tSY4sXmfmbl7L2qxhIoo2N1CMUtMmmWcO/DTGhofLCqwhhD1azXLNZhAeuf2bssFTQjBiInteYt2BNMu4zFgXxFytT3Lj94eUpP1+WISzDqbHOgyXTL0a28Qeadn0le9MEjtdK1RD9gWaSWiVeRZnYekI/JVbcdw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sgPvu-0004IE-FB for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2024 10:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Aug 2024 14:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72733 X-GNU-PR-Package: emacs Original-Received: via spool by 72733-submit@debbugs.gnu.org id=B72733.172416442916483 (code B ref 72733); Tue, 20 Aug 2024 14:34:02 +0000 Original-Received: (at 72733) by debbugs.gnu.org; 20 Aug 2024 14:33:49 +0000 Original-Received: from localhost ([127.0.0.1]:33522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgPvg-0004Hn-LR for submit@debbugs.gnu.org; Tue, 20 Aug 2024 10:33:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgPve-0004HZ-Ro for 72733@debbugs.gnu.org; Tue, 20 Aug 2024 10:33:47 -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 1sgPus-0003Un-4v; Tue, 20 Aug 2024 10:32:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=tplNLgVo83OJstgu+vV2WkXAPylVAbAN94iXLwQafiA=; b=BfPMo99yVziRz2ewBDRX 9Rt8S6+f3pOF/ZZqPHXuM+Tnk5b9HsgMfnyJge5pRwi/VdQwLv73b+50nk/Hhotw1f+SMtGFU9acO +ykRPw1Dih9CwrEaruVzMrLcmAEOhp8Nq/m3T93ZQu/zgSXWmihNdo62kpTWVPahKxB2jhGkk4l75 Th9r0Jh1sq9aDVK5zZbkyjYO5ep6ja67NuvO0B5TOjdJDt/lUNqtiv9fIHIEGy18EpIEGKx5Dvw1u JwfNpyyn5kcZwAc29JUvygbg16pR0uAS+uzhv0Zmn2HxjFKfamq+v+M6LmV2UPQGvrdhk34Xs/6Ws Y8NEwo4j2GE1Bg==; In-Reply-To: <878qwrl1k6.fsf@gmail.com> (message from tpeplt on Tue, 20 Aug 2024 10:19:05 -0400) 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:290452 Archived-At: > From: tpeplt > Date: Tue, 20 Aug 2024 10:19:05 -0400 > > Emacs Maintainers, > > Emacs 29.4 appears to be running some (uninitialized?) code when a > sequence of sub-menus is selected. This results in a warning message > about something that an Emacs user has not selected. Here is a recipe > for reproducing the problem. I have run this several times and gotten > the same result each time. > > 1. $ emacs -Q > > 2. M-x customize RET > > 3. The *Customize Group: Emacs* buffer is displayed. In this buffer, > select "Programming" from the menu of the Emacs group. > > 4. The *Customize Group: Programming* buffer is displayed. In this > buffer, select "Languages" from the menu. > > 5. A *Warnings* buffer is displayed in a new window. The following > warning message is displayed in that buffer: > > ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar for ruby is unavailable (not-found): (libtree-sitter-ruby libtree-sitter-ruby.0 libtree-sitter-ruby.0.0 libtree-sitter-ruby.so libtree-sitter-ruby.so.0 libtree-sitter-ruby.so.0.0) No such file or directory It's a known issue for which there's no simple solution. We want users who load ruby-ts-mode to know that they lack the Ruby grammar library, which is what this warning is about. And Customize loads ruby-ts-mode to allow its customization when you select Languages. We could perhaps shut up these specific warnings in that specific situation, but that doesn't seem clean. And the warning is just a warning, and harmless.