[ESS] Problem with definition new key binding in Noweb mode

Vitalie Spinu spinuvit at gmail.com
Fri Mar 16 10:06:04 CET 2012


>>>> Riccardo Romoli <ric.romoli at 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.



More information about the ESS-help mailing list