[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make all tree-sitter modes optional
From: |
Eli Zaretskii |
Subject: |
Re: Make all tree-sitter modes optional |
Date: |
Wed, 18 Jan 2023 05:34:52 +0200 |
> Date: Wed, 18 Jan 2023 03:23:57 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, monnier@iro.umontreal.ca, larsi@gnus.org,
> theo@thornhill.no, jostein@secure.kjonigsen.net, emacs-devel@gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
>
> On 18/01/2023 03:11, Yuan Fu wrote:
> >> The userbase I'm familiar with has been messing with auto-mode-alist for
> >> decades. To make it easier, people have been adding the necessary lines to
> >> documentation: either to the repository's README, or to package's
> >> Commentary. So the user could take it from there.
> >>
> >> Similarly, we can add such line to the Commentary of every ts mode, or
> >> even to the major mode docstrings
> > IF we do that, it’d be better to instruct users to use
> > major-mode-remap-alist, since it’s easier to understand and use IMO.
>
> Sure. This way we also avoid duplicating the file name regexp.
The purpose of major-mode-remap-alist doesn't fit such use, so this
proposal is a no-go.
Again, we've been through this already, at least twice.
- Re: Make all tree-sitter modes optional, (continued)
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/17
- Re: Make all tree-sitter modes optional, Dmitry Gutov, 2023/01/17
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/17
- Re: Make all tree-sitter modes optional, Dmitry Gutov, 2023/01/17
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/17
- Re: Make all tree-sitter modes optional, Dmitry Gutov, 2023/01/17
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/17
- Re: Make all tree-sitter modes optional, Dmitry Gutov, 2023/01/17
- Re: Make all tree-sitter modes optional, Yuan Fu, 2023/01/17
- Re: Make all tree-sitter modes optional, Dmitry Gutov, 2023/01/17
- Re: Make all tree-sitter modes optional,
Eli Zaretskii <=
- Re: Make all tree-sitter modes optional, Dmitry Gutov, 2023/01/17
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/18
- Re: Make all tree-sitter modes optional, Dmitry Gutov, 2023/01/18
- Re: Make all tree-sitter modes optional, Eli Zaretskii, 2023/01/18
- Re: Make all tree-sitter modes optional, Stefan Monnier, 2023/01/18
- treesit-forward-sexp (was: Make all tree-sitter modes optional), Juri Linkov, 2023/01/17
- Re: treesit-forward-sexp (was: Make all tree-sitter modes optional), Theodor Thornhill, 2023/01/17
- Re: treesit-forward-sexp, Juri Linkov, 2023/01/17
- Re: treesit-forward-sexp (was: Make all tree-sitter modes optional), Dmitry Gutov, 2023/01/17
- Re: treesit-forward-sexp (was: Make all tree-sitter modes optional), Eli Zaretskii, 2023/01/17