From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: ob-R, problem with try/catch Date: Mon, 04 May 2015 10:35:35 +0200 Message-ID: References: <83477C11-94B6-467B-8CD5-77976FE83C31@gmail.com> <0A59ABA8-865B-44CE-823A-0CC168983981@gmail.com> <87k2wzrr55.fsf@nicolasgoaziou.fr> 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]:57608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpBqt-0002T5-Ck for emacs-orgmode@gnu.org; Mon, 04 May 2015 04:35:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpBqq-00085c-14 for emacs-orgmode@gnu.org; Mon, 04 May 2015 04:35:47 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:35930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpBqp-00083p-Rr for emacs-orgmode@gnu.org; Mon, 04 May 2015 04:35:43 -0400 Received: by wizk4 with SMTP id k4so113089049wiz.1 for ; Mon, 04 May 2015 01:35:43 -0700 (PDT) In-Reply-To: (Charles C. Berry's message of "Sun, 26 Apr 2015 10:11:02 -0700") 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: "Charles C. Berry" Cc: Org-mode , "Thomas S. Dye" , Nicolas Goaziou , Rainer M Krug --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable "Charles C. Berry" writes: > On Sun, 26 Apr 2015, Nicolas Goaziou wrote: > >> Hello, >> >> Rainer M Krug writes: >> >>> Possible a candidate for the new linting library for org, to mark it >>> as an invalid argument combination >> >> Done. Do you know any other such combinations? > > Except for langs emacs-lisp, clojure, ruby, picolisp, and python > `:results pp' does nothing. > > mathematica refers to "pp" but I don't get what it does - it looks > like "raw" would be a more suitable :results format. > > Of course, somebody could add a pretty print routine for another > language, so maybe avoid hard coding the langs. Thinking about it, I don't think that the combinations should be defined in the linting library, but in the language definition (ob-XXX.el), by a function which returns all tested combinations, i.e. all combinations which have been tested, including if they work or not. The linting library could then query these lists and use them. This would keep the language definition in the ob-XXX.el file and make it easier to maintain. Rainer > > I guess this would be 'low' trust? > > > =3D=3D > > > For inline src block and inline babel call, `:results list' and > `:results table' are invalid and throw an error in > `org-babel-insert-result'. > > HTH, > > Chuck =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) iQEcBAEBAgAGBQJVRy9bAAoJENvXNx4PUvmCJrIH/jpaEmNJWKYMHykeYDx7OXrW K65u94PXbkuCLAxbXU6v1r6RDORhZwHoI+RYuo45+47fUpSZZa89l+AVXwtUC9v5 jUZ0uBpHMExyjegLgkEbhYhhEMU6iDTgMutI8q2tAsIk/uJFNcD/VWdEIKRLBub/ kgY1uTKjm1Zvh/U589/ScbNsNaX1QBsiehrcsaVq+okzcJ3sfgrjnV4D6uA76VZQ 9DUUGqi2+X4RpXjbFk6CYQa57kCq+fSeI8bHLn1apK9DI+JHP48ZLELgYeHNU6ZZ j/beTMZyW/ozV7EWIuAW1YLZDTSZMVAlu58Q/dLIjR3/6SrNxa4KcsaO0DcO4pk= =5NQ0 -----END PGP SIGNATURE----- --=-=-=--