Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-30 Thread Eric Schulte
Yu writes: > Hello! > > Thanks for the reply. The problem was, that I assumed the list > `org-babel-noweb-error-langs' to require the same form as > `org-babel-load-languages', i.e. something like > : ( (latex . t) (python . t) (sh . t) ) > > I didn't expect it to require a plain list of stri

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-30 Thread Yu
Hello! Thanks for the reply. The problem was, that I assumed the list `org-babel-noweb-error-langs' to require the same form as `org-babel-load-languages', i.e. something like : ( (latex . t) (python . t) (sh . t) ) I didn't expect it to require a plain list of strings. Now, that this misund

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-23 Thread Eric Schulte
Fixed. Thanks, "Sebastien Vauban" 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-bab

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-23 Thread Eric Schulte
Have you tried using the `org-babel-noweb-error-langs' variable that I mentioned previously? It should help in these situations. Yu writes: > Hello again! > > I thought about the *noweb* part again. I tried the following: > > == > #+begin_src sh :tangle test.

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-22 Thread Sebastien Vauban
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 t

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-21 Thread Yu
Hello again! I thought about the *noweb* part again. I tried the following: == #+begin_src sh :tangle test.out :noweb tangle <> cat << test.org >> test.out2 #+end_src #+begin_src sh :noweb-ref task1 echo "hello world" #+end_src ==

Re: [O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-14 Thread Eric Schulte
Yu writes: > Hello! > > I was wondering, if there is a way to get warnings for typos (e.g. > when specifying invalid properties or header arguments). It can just > easily happen that I mix up e.g. ":exports" and ":export" (though > that's probably a very harmless example). > While there is curre

[O] Syntax error warnings? (Especially important with :noweb-ref's)

2012-01-12 Thread Yu
Hello! I was wondering, if there is a way to get warnings for typos (e.g. when specifying invalid properties or header arguments). It can just easily happen that I mix up e.g. ":exports" and ":export" (though that's probably a very harmless example). More important it gets though, when trying to