emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Gerry Agbobada" <gerry@gagbo.net>
To: "Nicolas Goaziou" <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Status of syntax specification
Date: Tue, 19 May 2020 10:44:33 +0200	[thread overview]
Message-ID: <c9145ec8-e8af-4b36-8c9e-7a874035d8e4@www.fastmail.com> (raw)
In-Reply-To: <87zha5qrds.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

> 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

[-- Attachment #2: Type: text/html, Size: 932 bytes --]

      reply	other threads:[~2020-05-19  8:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17  9:54 Status of syntax specification Gerry Agbobada
2020-05-18 13:55 ` Nicolas Goaziou
2020-05-19  8:44   ` Gerry Agbobada [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c9145ec8-e8af-4b36-8c9e-7a874035d8e4@www.fastmail.com \
    --to=gerry@gagbo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).