From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: toml-ts-mode: first draft Date: Sun, 11 Dec 2022 22:43:50 +0100 Message-ID: References: <4E261A68-AB14-48A5-B19C-8981CB003F33@secure.kjonigsen.net> <86a63unfvp.fsf@mail.linkov.net> <83cz8pu9cr.fsf@gnu.org> <837cyxu7dp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23091"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, jostein@secure.kjonigsen.net, emacs-devel@gnu.org, casouri@gmail.com, theo@thornhill.no To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 11 22:45:04 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4U88-0005mk-1O for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Dec 2022 22:45:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4U7E-0006UF-No; Sun, 11 Dec 2022 16:44:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4U7C-0006SY-4p for emacs-devel@gnu.org; Sun, 11 Dec 2022 16:44:06 -0500 Original-Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4U7A-0000hy-6L; Sun, 11 Dec 2022 16:44:05 -0500 Original-Received: by mail-oi1-x233.google.com with SMTP id t62so9587393oib.12; Sun, 11 Dec 2022 13:44:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BFHS/Oxat5tY0Gps6OJSyqEsm2udsqFmkN+5iZpMaDE=; b=fK/NfYh8IElgaJAU/ZsFHXwNnfAY7IMFsqd6bW5+sqtmhDrxd/DAd4pwFYgwRfpsf/ zzCbx+f3WJ0nqC9jddK+/dtLs5MCoHTf9dd15RNtaUCTA/hvwXTwr0nrdol44/ujU3Ww sJ/2pZCs5RPf+gZymO20w4SsNe89llO6Enp6eJVj5KpFZC5ZGgXBDEqKs2d6m04x5+if FHCKwRglvhdEoCBqFfBfKbVJE51G+LcniitGZ4podNL4CSykLF4QRIEy0TmSkt7pB3s4 frH16JUI0AyZC2fYvUAvXxpcjwaGVMfyULOL2GZWgoZpjtvyDxSV+uZWO+k0D9p70+Z5 O8jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BFHS/Oxat5tY0Gps6OJSyqEsm2udsqFmkN+5iZpMaDE=; b=pr9MPjfLvDuZ2LHb01ce7Qq4rnJStHIaJM0W5zW2L7GrqlWNfOo6tJzJl/76iYM1Y8 lpACOITr8BOFJuSB8R8BZMZK1cLz/3md+vT/l6F+2UzObpm86zXiPh/UpmmQdzi5Y/bY kUyiHXGg3qpQp0m0i7Z39KZLPtDylJ/d9+3tSmTQOXboBxXSC6HJaJERRHqDQpye49jw SAKPPg49j2cYOK3jNgwpaiOZu9TKeP6TZI1KdIlFD9YcC+mjjbOj/CcXG/Sbw2GRI2qS 19arl8irgFaLE3+dKpsk2o3Yfld/pBPSTTTvoAfRZ4LTZ/IQKX8zB5zI4zfzoSKVkF5l o9fw== X-Gm-Message-State: ANoB5pm2+ogYQTnuRwRkrIbVyUr1u+KlilZbz/i/a9cU9tVYpQHwTo+d IicdGc007gWYD0toYJ22INMe6pkyOqmyjEpb51K3lc5wccOsZw== X-Google-Smtp-Source: AA0mqf7AzBbcrY8d5rRuwmMJ+tWYgAzGzzxjJO623yC/hMxir5I5MpJUbLyNB7JfPm5iqqqrtoW3Ml2JkPhb49NJRnU= X-Received: by 2002:a05:6808:1287:b0:359:dc32:4f9e with SMTP id a7-20020a056808128700b00359dc324f9emr37303780oiw.92.1670795042652; Sun, 11 Dec 2022 13:44:02 -0800 (PST) In-Reply-To: <837cyxu7dp.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::233; envelope-from=stefankangas@gmail.com; helo=mail-oi1-x233.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301170 Archived-At: Eli Zaretskii 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