From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Syntax error warnings? (Especially important with :noweb-ref's) Date: Sun, 22 Jan 2012 22:25:10 +0100 Message-ID: <801uqrl9ah.fsf@somewhere.org> References: <87sjji5g3e.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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