When I scroll through an Sweave document (Rnw) with latex and R code, the text jumps around when the mode changes between Latex and ESS. The two modes disagree how text should be wrapped. Moreover, I've noticed that when I do
- M-x toggle-truncate-lines to enable truncate long lines while the cursor is within latex code
- move the cursor to R code
- return to the latex code
the truncated long lines mode is no longer on. Has anyone noticed this? Has anyone solved this problem?