[ESS-bugs] new bug: Sweave not connecting to R correctly: value of `ess-dialect' is nil

Martin Maechler maechler at stat.math.ethz.ch
Tue Oct 2 22:41:42 CEST 2012


On Tue, Oct 2, 2012 at 7:52 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>   >> Rodney Sparapani <rsparapa at mcw.edu>
>   >> on Tue, 02 Oct 2012 12:38:40 -0500 wrote:
>
>   > On 10/02/2012 12:23 PM, Vitalie Spinu wrote:
>   >> noweb-font-lock-max-initial-chunks is a variable defined in `ess-noweb-font-lock-mode.el'.
>   >> Its value is 2
>   >>
>   >> Documentation:
>   >> Maximum number of chunks to fontify initially.
>   >> If nil, will fontify the entire buffer when
>   >> noweb-font-lock-initial-fontify-buffer is called
>   >>
>   >>
>   >> I suggest setting it to a larger number (30?). With current computers
>   >> it's a fraction of a second anyways. Otherwise most of the Rnw buffer is
>   >> unfontified at the beginning, which is pretty annoying.
>   >>
>   >> Vitalie
>
>   > Far be it from me to get overly excited about Sweave...

>   > But, why don't you just set it to nil?
>
> Just to avoid clogging folks who write books in one Rnw file:) Setting
> it to 30 will fontify the whole buffer in most cases. So in that respect
> 30 or nil are almost equivalent.

I agree that the default should be increased, but not to infinity,
and any number between 10 and 100 seems more or less sensible.
30 is close to the geometric mean of 10 and 100, so fine with me
(though I'd personally end up using 32  .. ;-)

Martin
>
>     Vitalie
>



More information about the ESS-bugs mailing list