GNU bug report logs -
#60511
29.0.50; treesit-ready-p should not emit warning by default
Previous Next
Full log
Message #44 received at 60511 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Cc: casouri <at> gmail.com, stefankangas <at> gmail.com, 60511 <at> debbugs.gnu.org
> Date: Sun, 08 Jan 2023 20:11:42 +0200
>
> >> In a situation when they want simply to visit a file without using
> >> tree-sitter features, and that visit won't require from them
> >> customization with modifying auto-mode-alist, etc.
> >
> > This will soon become a non-issue, as I plan on removing all the TS
> > modes from auto-mode-alist. Only loading the mode will add it back to
> > the alist. So there will be no surprises, and no need to conceal the
> > warning.
>
> Why users need to always load modes that they are using only occasionally?
If they want to use it permanently, they can load them in their init
files.
The idea is not to surprise users who were editing these kinds of
files before and don't have tree-sitter installed/configured. If
these new modes are completely opt-in, they cannot surprise anyone by
an unexpected warning.
This bug report was last modified 2 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.