Yes, you are right.
I used to write a comment such as:

@
<<label=01>>=# Library and Directory
.....
@

If I cut the comment all works fine. I did not think it could be a
problem...

So, thanks for your help, the problem is solved!!

Best
Riccardo



2012/3/16 Vitalie Spinu <spinuvit@gmail.com>

> >>>> Riccardo Romoli <ric.romoli@gmail.com>
> >>>> on Fri, 16 Mar 2012 09:31:42 +0100 wrote:
>
>  > Hi, thanks for your replay. Using the debug function I obtain:
>  > Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p
> nil)
>  >   buffer-substring-no-properties(nil nil)
>  >   noweb-tangle-chunk(#<buffer Tangle Buffer>)
>  >   ess-eval-chunk(nil)
>  >   call-interactively(ess-eval-chunk nil nil)
>
> You probably don't have your chunk formatted properly. The chunk header
> should start at the beginning of line and match the following regexp
> "^<<\\([^>]*\\)>>=$".
>
> If you still think everything is alright on your side,  send the
> troublesome chunk.
>
> Vitalie.
>
>

	[[alternative HTML version deleted]]

