Re: [O] org-lint how to include ob-rec parameters

2016-11-22 Thread Charles Millar

Hi, again,


On 11/22/2016 12:25 PM, Nicolas Goaziou wrote:

Hello,

Charles Millar  writes:


The following is not a critical issue.

I use ob-rec to generate tables from my recfiles.

org-lint issues a warning for ob-recs parameters, such as data, type,
fields, sort, etc.

Is there some code that I could include in my .emacs to avoid the
warnings? For that matter is this an issue for any other non-core
babel languages and is there a general solution?

It's a bug in ob-rec. Each Babel language needs to define allowed
headers and associated values, in a variable labelled
`org-babel-header-args:LANG' where LANG is obviously the language used,
e.g., `org-babel-header-args:R' or `org-babel-header-args:latex'.

Regards,


Thank you, Nicolas.

I will post this to the recutils list.

Charlie



Re: [O] org-lint how to include ob-rec parameters

2016-11-22 Thread Nicolas Goaziou
Hello,

Charles Millar  writes:

> The following is not a critical issue.
>
> I use ob-rec to generate tables from my recfiles.
>
> org-lint issues a warning for ob-recs parameters, such as data, type,
> fields, sort, etc.
>
> Is there some code that I could include in my .emacs to avoid the
> warnings? For that matter is this an issue for any other non-core
> babel languages and is there a general solution?

It's a bug in ob-rec. Each Babel language needs to define allowed
headers and associated values, in a variable labelled
`org-babel-header-args:LANG' where LANG is obviously the language used,
e.g., `org-babel-header-args:R' or `org-babel-header-args:latex'.

Regards,

-- 
Nicolas Goaziou