unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 72733@debbugs.gnu.org, tpeplt@gmail.com
Subject: bug#72733: 29.4; Warning message while attempting to view customization buffer
Date: Mon, 30 Sep 2024 15:28:01 +0300	[thread overview]
Message-ID: <86o7452uni.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkmmiwEcx9n51Ehpejm6nsEg3fsdEaWvqk4dJM6hrt-p8Tw@mail.gmail.com> (message from Stefan Kangas on Mon, 30 Sep 2024 00:12:12 -0700)

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Mon, 30 Sep 2024 00:12:12 -0700
> Cc: 72733@debbugs.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.

Indeed.  But all the other solutions were either much more complex or
concealed the warning in important cases.






      reply	other threads:[~2024-09-30 12:28 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
2024-09-30 12:28     ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86o7452uni.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=72733@debbugs.gnu.org \
    --cc=stefankangas@gmail.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).