[ESS-bugs] ess-developer: sending via C-c C-c -- bug (?) "Local value of `ess-dialect' is nil

Martin Maechler maechler at stat.math.ethz.ch
Sun Sep 30 20:40:48 CEST 2012


As the subject says,
If I enter developer mode,
and only after using it on/off for a bit,

I'm in a state, where using  C-c C-c for sending a (exported) function
to *R*,
I'm asked in the minibuffer
>> devEval into:  {stabledist | *current* }
and I choose the first one, my package.

Now it ends in the error  "Local value of `ess-dialect' is nil"

and the  *Messages* contains

  devEval paragraph ...
  ess-request-a-process: Local value of `ess-dialect' is nil

but when I then ask (C-h v) for ess-dialect it is "R"  both in the
<filename>.R and in the *R* buffer.

But then this is not so easily reproducible.. yet.
It happened after turning on / off developer mode...
..
a bit later:  Actually it happens only when the function contains a
syntax error, i.e, missing ")" in one place,
and I think it is related then to 'C-c C-c' not being able to
correctly determining function beginning and end
(which is "normal", with such a syntax error)...

I may get time to look at this later the coming week.
Martin



More information about the ESS-bugs mailing list