[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)
From: |
Eric Schulte |
Subject: |
Re: [O] Syntax error warnings? (Especially important with :noweb-ref's) |
Date: |
Mon, 23 Jan 2012 11:07:53 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Fixed. Thanks,
"Sebastien Vauban" <address@hidden> writes:
> 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 @address@hidden))
--
Eric Schulte
http://cs.unm.edu/~eschulte/
Re: [O] Syntax error warnings? (Especially important with :noweb-ref's), Sebastien Vauban, 2012/01/22
- Re: [O] Syntax error warnings? (Especially important with :noweb-ref's),
Eric Schulte <=