[ESS] feature request: goto chunk
es at enricoschumann.net
Fri Jun 6 09:39:25 CEST 2014
On Fri, 06 Jun 2014, Kasper Daniel Hansen <kasperdanielhansen at gmail.com> writes:
> It would be great to have a goto-chunk function which allows for the input
> of chunk number. I agree it is good practice to name Sweave chunks, but
> sometimes you don't and R just tells you the chunk number.
> Perhaps this function already exists?
Not exactly what are looking for, but you can place point in the first
code chunk, and then go forward N chunks with 'ess-noweb-next-chunk'.
| M-n C-n runs the command ess-noweb-next-chunk, which is an interactive
| Lisp function in `ess-noweb-mode.el'.
| It is bound to M-n C-n, <menu-bar> <Noweb> <Movement> <Next chunk>.
| (ess-noweb-next-chunk &optional N)
| If in a documentation chunk, goto to the Nth documentation
| chunk from point, else goto to the Nth code chunk from point.
More information about the ESS-help