From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cPlVMXWcw15+HwAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 08:44:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OFg9LXWcw14LaAAAB5/wlQ (envelope-from ) for ; Tue, 19 May 2020 08:44:37 +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 D5199940B28 for ; Tue, 19 May 2020 08:44:36 +0000 (UTC) Received: from localhost ([::1]:47004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaxrX-0008Mr-Ml for larch@yhetil.org; Tue, 19 May 2020 04:44:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaxrA-0008MD-Nv for emacs-orgmode@gnu.org; Tue, 19 May 2020 04:44:12 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:51491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaxr9-00038Q-G2 for emacs-orgmode@gnu.org; Tue, 19 May 2020 04:44:12 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id A0CA0580B05; Tue, 19 May 2020 04:44:09 -0400 (EDT) Received: from imap9 ([10.202.2.59]) by compute3.internal (MEProxy); Tue, 19 May 2020 04:44:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gagbo.net; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=beOo2iZP8xPve+hi0cNtfrmDMH+22fS z6IFDsz+j2jU=; b=W3F8tVWWuW8zqmS6W12Pvm8A0kpYyGjDnI7QnZ20xU1boHz 7KiFDhGJxPZ5JaLrwghXGyLH0cMkJxMke/dMeXtquswv1A0nd8LVgeT6Gv6FLlNG HOzVxu8BaqVAPsREc4/mie1Ag6go2E9PpbCaS/cRL+cEQxq99LGa78AHt29AjpS1 vG4xAslHhaUHHcWxNPRsoTszsiQhgHCGe9VmzddKNOi0QWZDC2ifdRYx5I+nGB5W I65f7LoRdz/mnJfU6+2+hDpwq2qb/UjQp05tnuYQqXbQNL5ZLzibOyF7VtfU/L81 FrmLJLAnibFOtjbqKt7kVf9MK5PXvGoM/Sz5kdA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=beOo2i ZP8xPve+hi0cNtfrmDMH+22fSz6IFDsz+j2jU=; b=zhHkPV/8UOJ+dE1fe/jHZD aSwc19E+m6c60zGQln0KMFT7Gg/aoW0oIErrzh3ntqzoJr/oXQbwNva6wlMn6bxL T7010JZvLNMAOzHKGIahnwefwVht/w4hNCsa4vmS4F5X5gKsfWcxalnmvvSCmpoR EqUCeUl88/GD8sfilbhzxd39EGtG1NgXHlQdtHNYtBahLytZW1bReUGq2FEA1Ym6 mLuhlujMnJikwfLULxygShRfA6M6UlpuZAwE5plaDRUMvmN7+/Dpn80JL8serQzR g1vjWJHiNaMxkzVrvfgxERCFsCyL/2X0UI+70n4s5NXMgWlrInlykt0ZGrZbFH9Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddtjedgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerredtnecuhfhrohhmpedfifgvrhhrhicutehgsghosggruggrfdcuoehgvghrrhih sehgrghgsghordhnvghtqeenucggtffrrghtthgvrhhnpeetuefhgeetteelffegueegge ekteekteethfetteeugfffleefieevgedvvdekheenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehgvghrrhihsehgrghgsghordhnvght X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id E53781C005C; Tue, 19 May 2020 04:44:08 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-464-g810d66a-fmstable-20200518v1 Mime-Version: 1.0 Message-Id: In-Reply-To: <87zha5qrds.fsf@nicolasgoaziou.fr> References: <6c7479aa-3f0d-462a-8c5d-cb55840417f1@www.fastmail.com> <87zha5qrds.fsf@nicolasgoaziou.fr> Date: Tue, 19 May 2020 10:44:33 +0200 From: "Gerry Agbobada" To: "Nicolas Goaziou" Subject: Re: Status of syntax specification Content-Type: multipart/alternative; boundary=179ba82d8d614fb2ada537daaa7a60fe Received-SPF: pass client-ip=66.111.4.229; envelope-from=gerry@gagbo.net; helo=new3-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 04:44:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gagbo.net header.s=fm1 header.b=W3F8tVWW; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=zhHkPV/8; dmarc=none; 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-Spam-Score: -0.20 X-TUID: zTlFzCU2zh/2 --179ba82d8d614fb2ada537daaa7a60fe Content-Type: text/plain > It would need proof reading, and comparing with "org-element.el", the > actual implementation of the syntax. Formalization may be better better, > too. I didn't know that there was a single point of entry to parse elements. I think my first step will be to try to write spec tests in elisp then. Hopefully I can cover most cases in the draft, and then see if org-element returns the tree that I expect for a cursor in various positions. Spec tests should use ERT too right ? If I try to write those, I might as well make them in a suitable way for integration in org-mode codebase. Thanks for the draft at least, it is a very helpful kickstart ! Gerry Agbobada --179ba82d8d614fb2ada537daaa7a60fe Content-Type: text/html
It would need proof reading, and comparing with "org-element.el", the
actual implementation of the syntax. Formalization may be better better,
too.

I didn't know that there was a single point of entry to parse elements. I think my first step will be to try to write spec tests in elisp then. Hopefully I can cover most cases in the draft, and then see if org-element returns the tree that I expect for a cursor in various positions.

Spec tests should use ERT too right ? If I try to write those, I might as well make them in a suitable way for integration in org-mode codebase.

Thanks for the draft at least, it is a very helpful kickstart !


Gerry Agbobada
--179ba82d8d614fb2ada537daaa7a60fe--