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:30:10 +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]:44069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvVEY-0000dU-Hg for emacs-orgmode@gnu.org; Thu, 21 May 2015 14:30:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvVEU-0004yg-C2 for emacs-orgmode@gnu.org; Thu, 21 May 2015 14:30:18 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:37920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvVEU-0004yc-6P for emacs-orgmode@gnu.org; Thu, 21 May 2015 14:30:14 -0400 Received: by wichy4 with SMTP id hy4so23502853wic.1 for ; Thu, 21 May 2015 11:30:13 -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 ex2sm33330699wjd.28.2015.05.21.11.30.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 11:30:12 -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? Well - now it does. The following produces the error: =2D-8<---------------cut here---------------start------------->8--- #+PROPERTY: header-args :tangle-mode (identity #o444) * Some code #+begin_src R :results nons #+end_src =2D-8<---------------cut here---------------end--------------->8--- The problem is the (identity #o444) which is causing the problem. Here it is, 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) iQEcBAEBAgAGBQJVXiQyAAoJENvXNx4PUvmCcQ8IAIGZcXTybiBLueGeFasCx/M/ F8EzPoboFccO+Fh0HXVpX974PrqM/mLVwIk0+BfPSTvU65hnegwY3Heu6tEj9YRi wCpqfoAeWM3fe3ifIk2eaBpW4UjR5dRJP6v+qxquqIbtRFY1a9iPviRNAfKhxUPI raoQsT3IAZCNmWjBV2oaqIONB40H2y81KmXYE3+Qs+XutJhwXRX2WwltkomsPoHz hv9D1UnOGSxhO49OQv23HnhEvysJoxOj6xGULQYYMl6mPpq4g3N19v3Ima3E9Ixb b0lurTfU1N4JQVNpFbD6akWEIn1ONnsnPrMJUVvzwYtuH68XW8GCDI2vZtMnVDg= =gml0 -----END PGP SIGNATURE----- --=-=-=--