1
\section{ess-web: Interface from ESS to Noweb}
7
<<chunk extraction methods>>
8
<<noweb/ess interface methods>>
12
<<chunk extraction methods>>=
13
<<extract chunk method>>
14
<<locate chunk-at-point>>
17
<<extract chunk method>>=
18
(defun ess-noweb-extract-chunk (chunk-name)
19
<<if [[chunk-name]] not valid then exit>>
20
<<extract [[chunk-name]] into [[temp-buf]]>>
21
<<dump [[temp-buf]] into a relevant process>>
22
<<return status results>>
24
@ %def ess-noweb-extract-chunk
27
<<extract chunk at point>>=
28
(defun ess-noweb-extract-chunk-at-point ()
30
<<determine [[chunk-name]] at point>>
31
(ess-noweb-extract-chunk chunk-name)
33
@ %def ess-noweb-extract-chunk-at-point
35
Consider binding the above to [[C-c C-C]] (for [[dump-chunk]]).
38
%%% Local Variables: ***
39
%%% noweb-code-mode: emacs-lisp-mode ***