[ESS] ess-eval-function artifacts

tyler tyler.smith at mail.mcgill.ca
Mon Apr 7 14:04:29 CEST 2008


Hi,

I posted this as a bug, but apparently it is something peculiar to my
set up. Can anyone else reproduce the following?

Open R in Emacs (M-x R).
Make sure eval-visibly-p is nil.
Open a .R file in another buffer.
With point in a function, send that function to R with C-c C-f

At this point, having sent a function with 24 lines, I see the following
in my R process buffer:

> + + + + + + + + + + + + + + + + + + + + + + + + > 

Now, if I advance one in the command line history (M-n), I get history item
150, in my case just a call to the object 'alpha', presumably I wanted
to see what was inside that object:

> + + + + + + + + + + + + + + + + + + + + + + + + > alpha

If I then reverse back to the front of the history line with M-p, I get
the following:

> + + + + + + + + + + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + + + + + + + + + + + > 

If, for whatever reason, I move back and forth in the history, every time
I get to the history element that corresponds to the function I sent
with C-c C-f, I get another batch of + symbols:

> + + + + + + + + + + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + + + + + + + + + + + > 

and so forth. Does this happen for anyone else? I think I've traced the
source to comint-restore-input, but I'm not sure what to do about it.

Thanks,

Tyler




More information about the ESS-help mailing list