Skip to content

Complying with the *New exporter* framework #2

Open
@pinard

Description

@pinard

Hi, Masafumi.

Granted that the meaning of the word new fades while the time goes on, there is something in Org that's called the New exporter, to solve the problem that each exporter prior to this big overhaul was doing its best effort at digesting and understanding an Org file, with the result that the same Org file was not exported consistently to different backends.

Nicolas Goaziou undertook to write a single Org mode parser in Emacs Lisp that was producing a single, standardized interpretation of an Org file, and to adapt all pre-existing exporters, ripping of their Org file analysis and connecting it to the common parser instead. It has been a lot of work, generated tons of dicsussions, and took quite a while to complete. Since Org 8.0 or 8.1, all that work is essentially done.

My suggestion while opening this issue, which admittedly, is not a small one, is to revise org-js so it sticks to the common understanding of the new exporter framework as much or as far as possible. While some may say that the Emacs Lisp parser is the reference, there has been a good attempt at documenting its features. I do not know if the syntax draft has been updated while some tiny later changes were discussed or adopted, but it should not be far from the actual truth anyway.

If you look at the page http://orgmode.org/worg/dev/, you'll find a section titled Reference documentation containing a small number of pointers to other documents, which could be perused to estimate the amount or extent of changes needed in org-js for aiming compliance.

François

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions