Hi Eric,

Eric Schulte wrote:
> there are two related functions which should help.
>
> ,----[org-babel-view-src-block-info] bound to C-c C-v I
> | org-babel-view-src-block-info is an interactive Lisp function in
> | `ob.el'.
> | 
> | (org-babel-view-src-block-info)
> | 
> | Display information on the current source block.
> | This includes header arguments, language and name, and is largely
> | a window into the `org-babel-get-src-block-info' function.
> `----
>
> and
>
> ,----[org-babel-check-src-block] bound to C-c C-v c
> | org-babel-check-src-block is an interactive Lisp function in `ob.el'.
> | 
> | (org-babel-check-src-block)
> | 
> | Check for misspelled header arguments in the current code block.
> `----

When checking for suspicious header arguments on[1]:

#+name: mean
#+begin_src emacs-lisp :var lst=()
  (let ((num (car lst)) (nums (cdr lst)))
    (/ (float (+ num (apply #'+ nums))) (1+ (length nums))))
#+end_src

it reports:

    supplied header ""var"" is suspiciously close to ""dir""

Can you enlighten me on what's suspicious here?

Best regards,
  Seb

Footnotes:

[1] which is supposed to be used in the following table:

|   1 |
|   2 |
|   3 |
|   4 |
|   5 |
|   6 |
| 3.5 |
#+TBLFM: @7$1='(sbe mean (lst @1..@6))

-- 
Sebastien Vauban


Reply via email to