all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Elliott Shugerman <eeshugerman@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?)
Date: Fri, 25 Nov 2022 10:50:40 -0700	[thread overview]
Message-ID: <CAEb3WWYcVxdCv3qfkjjAd4ZD-+aRJLy9W_yiHe_npL2-idLwRw@mail.gmail.com> (raw)
In-Reply-To: <1DE461FE-EE92-4593-8191-0738D5B6640C@thornhill.no>

[-- Attachment #1: Type: text/plain, Size: 1704 bytes --]

I am nobody, but FWIW, I'm in favor of using "treesit" instead of "ts" in
the mode names. Even if tree sitter had a higher profile than typescript
(NB: typescript's is in fact much higher, and this is unlikely to change no
matter how much adoption tree sitter sees), the unambiguous naming scheme
is preferable. Does anyone really mind the five additional characters?

On Fri, Nov 25, 2022, 9:39 AM Theodor Thornhill <theo@thornhill.no> wrote:

>
>
> On 25 November 2022 17:25:09 CET, "Daniel Martín" <mardani29@yahoo.es>
> wrote:
> >"T.V Raman" <raman@google.com> writes:
> >
> >> also the   name "ts" as part of tree-sitter is an unfortunate
> >> confusion since ts-mode is for typescript.
> >>
> >> I initally wrongly assumed that ts-mode was some kind of global mode
> >> that would enable tree-support for all supported modes, given the
> >> names c-ts-mode etc.
> >
> >This is a good point.  The Tree-sitter Elisp library itself and its
> >commands already use the "treesit" abbreviation consistently.  We're
> >still on time to rename the new language modes to c-treesit-mode, and so
> >on.  Thoughts?
> >
>
> I'd rather change ts-mode to typescript-mode or typescript-ts-mode. But we
> can discuss names, of course :-)
>
> Even better would be some construct we've discussed many times the last
> months: not letting a specific implementation "own" a major mode name. So
> c-mode could be powered by cc mode implementation _or_ treesit.el
> implementation, but not a merged thing.
>
> To me the natural progression would be to keep name as-is, then later when
> we have such a construct just delete the *-ts-modes.
>
> For Emacs 30 or 31.
>
> Theo
>
>

[-- Attachment #2: Type: text/html, Size: 2410 bytes --]

  reply	other threads:[~2022-11-25 17:50 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24  1:54 tree-sitter version? T.V Raman
2022-11-24  3:27 ` Yuan Fu
2022-11-24  4:57   ` T.V Raman
2022-11-24  5:02     ` Yuan Fu
2022-11-24  5:54       ` Tassilo Horn
2022-11-25  9:43         ` Yuan Fu
2022-11-25 11:52           ` Eli Zaretskii
2022-11-25 15:08           ` T.V Raman
2022-11-25 16:25             ` Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?) Daniel Martín
2022-11-25 16:33               ` Eli Zaretskii
2022-11-25 16:38               ` Theodor Thornhill
2022-11-25 17:50                 ` Elliott Shugerman [this message]
2022-11-25 23:41                   ` Rudolf Adamkovič
2022-11-25 19:40                 ` Eli Zaretskii
2022-11-25 19:58                   ` Theodor Thornhill
2022-11-25 20:13                     ` Theodor Thornhill via Emacs development discussions.
2022-11-26  1:04                       ` Stefan Kangas
2022-11-26  6:45                         ` Theodor Thornhill
2022-11-26  8:20               ` Yuan Fu
2022-11-26  8:22                 ` Theodor Thornhill
2022-11-26  8:31                 ` Eli Zaretskii
2022-11-26  9:06                   ` Theodor Thornhill
2022-11-28 21:36             ` tree-sitter version? Richard Stallman
2022-11-29  3:28               ` Eli Zaretskii
2022-12-04 23:13                 ` Richard Stallman
2022-12-05  3:27                   ` Eli Zaretskii
2022-12-06 22:35                     ` Richard Stallman
2022-12-07  3:31                       ` Eli Zaretskii
2022-11-25 15:06         ` T.V Raman
  -- strict thread matches above, loose matches on Subject: below --
2022-11-26  3:22 Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?) daanturo
2022-11-26  7:43 ` Yuri Khan

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=CAEb3WWYcVxdCv3qfkjjAd4ZD-+aRJLy9W_yiHe_npL2-idLwRw@mail.gmail.com \
    --to=eeshugerman@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.