From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UPzfNw/BWmHBLgEAgWs5BA (envelope-from ) for ; Mon, 04 Oct 2021 10:53:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aM2WMw/BWmHFUAAA1q6Kng (envelope-from ) for ; Mon, 04 Oct 2021 08:53:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5861321DC6 for ; Mon, 4 Oct 2021 10:53:35 +0200 (CEST) Received: from localhost ([::1]:34724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXJj4-0008E6-Fi for larch@yhetil.org; Mon, 04 Oct 2021 04:53:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXJF6-0003ox-8y for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 04:22:37 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:34478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXJF4-0001rg-Te for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 04:22:36 -0400 Received: by mail-pg1-x535.google.com with SMTP id 133so15830611pgb.1 for ; Mon, 04 Oct 2021 01:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:references:user-agent:in-reply-to:message-id :mime-version; bh=9dfs10hNzr4SqCgFCOAYTy0Ru+8OQ8Ym8l55TSDUF8I=; b=NIenzhslg2i2f+4yOGikXlfP0+aEwkQvxIQlzhtryEWRTeWLvVUdqCoju9JQQKhhpt QOVlMpbNqsp02a+aUgOUFV5qrHtcRpOlI2m/CHa9z2BXK/C+ZfxpmlUW3n5EEjp/hhCQ XasQSlcn2WowpSQAr6qpEQtFpku3QVCWB1fHW5Hh8jDMVOM2Rx7DzphHCguQi7tu7eDE PosvkcmXWgnj3m0BrNpy32kDMvjmS64Lj6CGsxsSzf2tsGMTr+JKxE9wu7WRJztM57kz ug0amOJpfUtbBw4LfLZjk8x677QCf0GeD5dSt1YW8cPwu2YRIjtBOWqcjbEnIKHfOnWE LYVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=9dfs10hNzr4SqCgFCOAYTy0Ru+8OQ8Ym8l55TSDUF8I=; b=IjnpEDh7ESYgymGD29XRDbXp/5MatmA96V0YZQtv2+TbWKdqd7BLxSH1g6+pAMUgu4 D1UWwJkXsjz8TScJg6UXcsAsjYc7pE4543JM4SyMR9UxLjqXVOV3Zn/qoNH4oDLWpEbR qS/glz2hfGgROijfnsdBVdPcd0n7/7mUxjXVXIh3/BNPKoSg5uGTenYGuTl7mPO7zUwh AY92m1J/N60lMsV9wtNZAa4Wfq/jOMEEpCYWKAM8TjgdqoYO/+jfAAG3c7Ifg1CJzxZG rTRqeluw4SjtBAoq15NxmbNH2fe76sSrt1p8LcyI7RKG3sq6iHPAf69Rgr1ppYKRX90i PDnA== X-Gm-Message-State: AOAM531UtgUIbTwkV0EvmQNK1ozqZoIiUkBtzKaGGSlmej2cp6FWLKtF w2xJweasVOzum6cc8/gu0smfiIc0SaA= X-Google-Smtp-Source: ABdhPJwIMuBxhnwzf4S/XZuZg4KW3+1/zwjVp90MGj9TxxM+7a9frqiLbG+9SGt9iZ1ng/uHKAprTw== X-Received: by 2002:a62:3287:0:b0:439:bfec:8374 with SMTP id y129-20020a623287000000b00439bfec8374mr24781597pfy.15.1633335753354; Mon, 04 Oct 2021 01:22:33 -0700 (PDT) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id r23sm14417613pjo.3.2021.10.04.01.22.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 01:22:33 -0700 (PDT) From: Timothy To: emacs-orgmode@gnu.org Subject: Re: Org lint and named source blocks Date: Mon, 04 Oct 2021 16:21:38 +0800 References: <87h7ee5q8u.fsf@gmail.com> <87o88mqd6o.fsf@localhost> <87a6jpcnwe.fsf@localhost> User-agent: mu4e 1.6.5; emacs 28.0.50 In-reply-to: Message-ID: <87lf39gpx6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x535.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-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633337615; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9dfs10hNzr4SqCgFCOAYTy0Ru+8OQ8Ym8l55TSDUF8I=; b=guKAxTekYStoMGkbFulais32v8Pr5tauWZew1F4t9QH8lk4dRyunSGIrJqArUzIHlDqSQQ vDxlyIzw8iBHDsesaoAuSsp5OgA+b+UQlY+WtRNyw02zBrJBuiNj+Mv7Ka5DxRnuqYaita cTWkAxosemAOx94zKLVTJ6u2BruNxgSe8M1iLDj8nu5Jcegp99GaAzFSs5hQVnFCfg1gB6 kpS7Xc5vnlUMZSK7jnoWo2eojspP56g5hNIdT2PkmXl8pafUl4/0cPi+BzcCmb8cUnz3B1 ffD3cjb0BcxiVU+/kX3g+hf4aBRhfiy0HHZrJ0ZW7JndVWG9ok9590OOO+KGvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633337615; a=rsa-sha256; cv=none; b=kkLxW0mA2itFNpiGp1GRvO/2ogGvuvHZL372/LjkwmF0CCuDYIuLkZGAx2P3q5D+rhJDGd ghrE9Ye8XVVmPR4PSD1ByY/vqk1SJXVsAymdwxkdlZQ4zNB5ajbZjpqIIF+n3MyQAYDn0l 4ZmQBjisL0RdJshDih2iiTCvKNCwPkojgnby/XzZ5XLOGUn3eMznynbVB+nqQk6bvJIni0 21lKYpWiCY6kV+i3JmFK+s3lfEzOwvrIPO1IGq7N1ilqfTS7V41DtWuIQwDGNfODpqsZdr PA+sFTm4pAKZ6ss2Ov0/5/na7XtdTBCptEnnyxVeOLepAE7NG/0QvCC3hlGAkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NIenzhsl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NIenzhsl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 5861321DC6 X-Spam-Score: -2.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: UX/iaCttfieK --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Tom, > The issue for me is that I don=E2=80=99t have the bandwidth to get started > with a full tree sitter implementation, especially because it is going > to need a custom scanner, and because you=E2=80=99re effectively on your > own when it comes to reconstructing the output of the AST into the > actual internal representation of an Org file. I also have no idea how > to deal with nested parsers in tree sitter. I have some ideas about > how it might be done, but nothing concrete (see the linked issue > for more on that). orgmode.nvim is developing a tree-sitter parser, perhaps a dialog with them could be productive? All the best, Timothy --=-=-=--