[ESS] How to re-identify chunk minor mode?
Charles C. Berry
cberry at tajo.ucsd.edu
Wed Jan 10 20:48:57 CET 2007
If I understand you...
M-n C-l runs the command noweb-update-chunk-vector
which is an interactive Lisp function in `noweb-mode'.
Scan the whole buffer and place a marker at each "^@" and "^<<".
Record them in NOWEB-CHUNK-VECTOR.
On Wed, 10 Jan 2007, Kevin Wright wrote:
> When I edit rnw files, I frequently find that Emacs becomes confused
> about which minor mode should be used. For example, I might be
> editing an R code chunk and delete the chunk-closing '@' sign. Emacs
> will then use LaTeX as the minor mode for the remaining lines of R
> code in the chunk.
> Is there a command like rescan-buffer-and-identify-minor-modes ?
> Does this happen to other people? How can I change my editing
> technique to avoid getting into this situation? Or, maybe my .emacs
> config file is causing this...?
> I'm running R 2.4.0, current ESS, and Emacs 22 beta (2006-11-05).
> Kevin Wright
> ESS-help at stat.math.ethz.ch mailing list
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu UC San Diego
http://biostat.ucsd.edu/~cberry/ La Jolla, San Diego 92093-0901
More information about the ESS-help