[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: toml-ts-mode: first draft
From: |
Eli Zaretskii |
Subject: |
Re: toml-ts-mode: first draft |
Date: |
Mon, 12 Dec 2022 05:28:31 +0200 |
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sun, 11 Dec 2022 22:43:50 +0100
> Cc: juri@linkov.net, jostein@secure.kjonigsen.net, emacs-devel@gnu.org,
> casouri@gmail.com, theo@thornhill.no
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > > Should json-ts-mode.el be moved to textmodes as well?
> >
> > I don't see why. JSON is a programming feature, not text for human
> > consumption.
>
> They are all just formats for structured data, just like XML. You can
> write JSON files intended for human consumption (if by that you mean
> "meant to be edited by a human"), and you can use YAML/TOML to share
> data between programs. That's just an aspect of how the format is
> used in a given application, and is not inherent to the format itself.
>
> Just to give one example, Hugo supports configuration written in
> either one of YAML, TOML or JSON:
> https://gohugo.io/getting-started/configuration/#configuration-file
That's not enough of a reason to move json-ts-mode from its current
place.
- toml-ts-mode: first draft, Jostein Kjønigsen, 2022/12/11
- Re: toml-ts-mode: first draft, Jostein Kjønigsen, 2022/12/11
- Re: toml-ts-mode: first draft, Eli Zaretskii, 2022/12/11
- Re: toml-ts-mode: first draft, Jostein Kjønigsen, 2022/12/11
- Re: toml-ts-mode: first draft, Eli Zaretskii, 2022/12/11
- Re: toml-ts-mode: first draft, Jostein Kjønigsen, 2022/12/11
- Re: toml-ts-mode: first draft, Yuan Fu, 2022/12/11
- Re: toml-ts-mode: first draft, Jostein Kjønigsen, 2022/12/12
- Re: toml-ts-mode: first draft, Theodor Thornhill, 2022/12/12
- Re: toml-ts-mode: first draft, Jostein Kjønigsen, 2022/12/12