On Sun, 19 Apr 2015, Nicolas Goaziou wrote:

Hello,

The following library implements linting for Org syntax. The sole public
function is `org-lint', which see.


Nice!

Comments below.

Internally, the library defines a new structure: `org-lint-checker',
with the following slots:


[snip]


Checks currently implemented are:

 - duplicates CUSTOM_ID properties
 - duplicate NAME values
 - duplicate targets
 - duplicate footnote definitions
 - orphaned affiliated keywords

This generates an orphaned keyword warning, but seems innocuous and is what babel renders.

#+NAME: abc
#+BEGIN_SRC emacs-lisp
nil
#+END_SRC

#+RESULTS: abc


 - obsolete affiliated keywords
 - missing language in src blocks
 - NAME values with a colon
 - wrong header arguments in src blocks

IFF the header args are in the #+BEGIN_SRC line.

#+HEADER lines and header-arg properties are not screened AFAICS.

[snip]

Chuck

Reply via email to