From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [RFC] Org linting library Date: Thu, 21 May 2015 20:23:14 +0200 Message-ID: References: <87a8y4fdmv.fsf@nicolasgoaziou.fr> <87iobm7wi0.fsf@selenimh.access.network> <877fs1aog3.fsf@selenimh.access.network> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvV7r-0007Jn-3T for emacs-orgmode@gnu.org; Thu, 21 May 2015 14:23:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvV7l-0002j1-MC for emacs-orgmode@gnu.org; Thu, 21 May 2015 14:23:23 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:35467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvV7l-0002iu-Ge for emacs-orgmode@gnu.org; Thu, 21 May 2015 14:23:17 -0400 Received: by wicmx19 with SMTP id mx19so24034913wic.0 for ; Thu, 21 May 2015 11:23:17 -0700 (PDT) Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id b10sm4066363wic.1.2015.05.21.11.23.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 11:23:16 -0700 (PDT) In-Reply-To: <877fs1aog3.fsf@selenimh.access.network> (Nicolas Goaziou's message of "Thu, 21 May 2015 18:24:28 +0200") 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > Rainer M Krug writes: > >> Two more questions: >> >> I get the following warnings: >> >> ,---- >> | 10 low Unknown OPTIONS item "@" >> | 11 low Unknown OPTIONS item "skip" >> | 11 low Unknown OPTIONS item "LaTeX" >> | 11 low Unknown OPTIONS item "TeX" >> `---- >> >> based on the following lines: >> >> ,---- >> | #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t >> | #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-t= oc >> `---- >> >> The file is not that old - but have these options changed? > > These options do not do anything. "@" and "skip" have no equivalent. > "TeX" and "LaTeX" are now "tex". See (info "(org) Export settings"). > >> and I get >> >> ,---- >> | 1821 low Orphaned affiliated keyword: "RESULTS" >> `---- >> >> caused by an orphaned >> >> ,---- >> | #+RESULTS: >> `---- >> >> But these are created by evaluating a code block which produced no >> results - so they are a valid part of the document? > > Correct. Note however the "low" trust on this check. It's just > a heads-up. Anyway I remove such reports for RESULTS in wip-lint. > >> And an error: >> >> I get, in the same document I got the other errors, the following error: >> >> ,---- >> | Org linting process starting... >> | org-split-string: Wrong type argument: stringp, 292 >> `---- >> >> The backtrace is huge - how can I produce a usable backtrace? > > Usually, only the last top-level function call is useful.=20 > > It would be better to provide an ECM, tho. The error comes from Babel > header check. Does "292" ring a bell in a #+HEADER: line? Addition to my last email: when I close emacs and open it again and try to linter the ECM, it works - is it possible that there is some caching which is not cleaned up? Rainer > > > Regards, =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJVXiKSAAoJENvXNx4PUvmCrQkIAO5vix0pZYkEWbWpe8T+KdDd A0XAu4Gr5rU6P7XKsajuSVw+lis1xxN8DyImHjo2ottnXJth4mamQswkrDJCJzgJ i+TH6z6A5u82+M8bfO4exaGIYwfXqS111keiRhrmxzix+DQT1yBC5w5UP3TvAXqY j7k6USbRxRoYDQInnCblbY9B5qKJm5H6zvXSC3rm/cNBpN5lUlaK3AqkEgDtRv6H IMWC9VrICjdUsT+1yOaslOuQqcKQXNisfo0tN/KH1VOxBTs5/6A54dS6PavjBGDz IUDo3frnrzdubs6guAJfLIgunTNN8DUVSqmIHydJXueebe4xBUzMeuLPT6cKD2o= =c+EO -----END PGP SIGNATURE----- --=-=-=--