"Charles C. Berry" <ccbe...@ucsd.edu> writes: > On Sun, 26 Apr 2015, Nicolas Goaziou wrote: > >> Hello, >> >> Rainer M Krug <r.m.k...@gmail.com> 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? > > > == > > > 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 -- 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: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982
signature.asc
Description: PGP signature