From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Request to add tomelr package to GNU ELPA Date: Thu, 5 May 2022 17:05:56 -0400 Message-ID: References: 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="33333"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 05 23:08:08 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 1nmihh-0008Oc-Q9 for ged-emacs-devel@m.gmane-mx.org; Thu, 05 May 2022 23:08:05 +0200 Original-Received: from localhost ([::1]:54872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmihg-0002HT-Oh for ged-emacs-devel@m.gmane-mx.org; Thu, 05 May 2022 17:08:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmigJ-0000rX-68 for emacs-devel@gnu.org; Thu, 05 May 2022 17:06:39 -0400 Original-Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:40894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmigH-0007i3-JY; Thu, 05 May 2022 17:06:38 -0400 Original-Received: by mail-pj1-x1033.google.com with SMTP id iq2-20020a17090afb4200b001d93cf33ae9so9042525pjb.5; Thu, 05 May 2022 14:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G/KemuiypSFVMNIcLZRX5HT2uTSYXSHYmyVCaOw7rB4=; b=UMPCvCzCAThdAWkBnmlwDfk4ga+HubMd+yj3J7Cdn3i9vy3AqNBaGk0y5q7+3BABCY d/Aqzp3soMq6K+vyn8ePuonE579FxLCi7euw2PqM3eb/P01uIV34Xhy8UejXFx6DbFtA OMuRk5yWCQVLHEONzeLHa50aTY9LirGZphVu5uQ+6a+zf/nWJw+vKWjb7Va6S57j908V YQpMSuW+ijlPkLkI8enaf+mjeeUv+RxZ5xhekwylUuoJiqzZDySbP3BRuhwTGo3Ers36 rx1KBqVYxscMBYSGmOT1Y7CebdtgF6f2WjiuxECBnECToYefieRqCwmWbJh1454EADP4 fPaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G/KemuiypSFVMNIcLZRX5HT2uTSYXSHYmyVCaOw7rB4=; b=VI6UqQOZPYvri1bvn9niqydtz6AonCiQw2TwcsU/05/lw3j9xI8k3Ef+NNrU4spGbN 9HkUb1WK4WN+bhnffe2J1zPCYv7eeDIwVUQVnrqP249Eh9OnrGRYX6R89PIREFMx7ySS dZRMUOvzGqK5MkdFRmvkpy9YYm72T9nktKq7Qt1zyL6GY0u3oNwJ8HhvO8nybGvuNJ1K Wdx2zjRcfLyO+1w/Y77xuHBweHs8CpTziEMpUuxsroWCh4KtRnIs/WecMwSqSRWDqSVi mYXBsPqGye4X6Muq/acwAvTS511z5pbKDEcsIdb8jonye1rl41draU7uJxA6B8uDbZs+ yQQQ== X-Gm-Message-State: AOAM532mxfxIBjH0oljiWZQ9RfE6jfPE0RKlIBhKRDL3lpnmxeswUit6 8eXvwEl0tcauTrvaUKA8MlGaJwrodBkvwuN8pxI6UqPjEgU= X-Google-Smtp-Source: ABdhPJwWH38jxlrzG3xMzAyloKV3tMRLCXqOjR+2Cg0lPKh3G+G/IHkh+niWRNX/Odz/LcSh5QwW6jugJWJETLrZQTs= X-Received: by 2002:a17:902:e012:b0:15d:53:61ff with SMTP id o18-20020a170902e01200b0015d005361ffmr82452plo.73.1651784795074; Thu, 05 May 2022 14:06:35 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=kaushal.modi@gmail.com; helo=mail-pj1-x1033.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, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:289281 Archived-At: On Wed, May 4, 2022 at 6:47 PM Richard Stallman wrote: > I wonder: would it be useful to convert in the other direction, > TOML config data to Lisp data? I haven't found a use for parsing TOML (yet). Once I do, it will be a challenging task to develop that library (I have zero experience writing parsers). The TOML generation on the other hand was easier as Emacs did all the Lisp data processing for me :) > Would it make sense to handle other somewhat similar formats > of configuration data? For instance, the data in .ssh/config? > The data in /etc/network/interfaces? It should be possible to generate that but the tomelr.el won't be the place for that. I started with a strict definition for this package: https://scripter.co/defining-tomelr/ This package only converts Lisp data to TOML and follows the TOML v1.0.0 spec.