From: Stefan Kangas <stefankangas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, tpeplt <tpeplt@gmail.com>
Cc: 72733@debbugs.gnu.org
Subject: bug#72733: 29.4; Warning message while attempting to view customization buffer
Date: Mon, 30 Sep 2024 00:12:12 -0700 [thread overview]
Message-ID: <CADwFkmmiwEcx9n51Ehpejm6nsEg3fsdEaWvqk4dJM6hrt-p8Tw@mail.gmail.com> (raw)
In-Reply-To: <86zfp7uuwc.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
>> From: tpeplt <tpeplt@gmail.com>
>> 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.
Showing the warning doesn't seem very clean either.
next prev parent reply other threads:[~2024-09-30 7:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 14:19 bug#72733: 29.4; Warning message while attempting to view customization buffer tpeplt
2024-08-20 14:32 ` Eli Zaretskii
2024-08-20 17:04 ` tpeplt
2024-09-30 7:12 ` Stefan Kangas [this message]
2024-09-30 12:28 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADwFkmmiwEcx9n51Ehpejm6nsEg3fsdEaWvqk4dJM6hrt-p8Tw@mail.gmail.com \
--to=stefankangas@gmail.com \
--cc=72733@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=tpeplt@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.