From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: [RFC] Org linting library Date: Sun, 19 Apr 2015 19:15:03 -0700 Message-ID: References: <87a8y4fdmv.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk1Eu-0007US-A0 for emacs-orgmode@gnu.org; Sun, 19 Apr 2015 22:15:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yk1Er-0007x6-1R for emacs-orgmode@gnu.org; Sun, 19 Apr 2015 22:15:12 -0400 Received: from iport-bcv1-out.ucsd.edu ([132.239.0.119]:53494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yk1Eq-0007pF-OT for emacs-orgmode@gnu.org; Sun, 19 Apr 2015 22:15:08 -0400 In-Reply-To: <87a8y4fdmv.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Org Mode List 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