[ESS] ess-remote double echo

Sam Steingold sds at gnu.org
Fri Mar 28 18:39:52 CET 2014

> * Vitalie Spinu <fcvahivg at tznvy.pbz> [2014-03-28 10:25:57 -0700]:
> Ross' problem happens with ess-eval-visibly set tot t. I was wondering
> why I don't see that. Should not be; will check that.

I do (custom-set-variables '(ess-eval-visibly-p 'nowait))

> Your problem is because you are not using comint, but setting
> comint-process-echoes as a local var should in principle work.

it is a local var in the remote-R buffer.

>  >>> Sam Steingold on Fri, 28 Mar 2014 11:37:45 -0400 wrote:
>  > I observe the same behavior with emacs/term/screen/ess as described
>  > in http://stackoverflow.com/a/22703777/850781Setting
>  > comint-process-echoes to t does not help even after I tell
>  > inferior-ess-input-sender to ignore it.
> The code works for me.

Please note that I reworked it recently.

> I would like to streamline this and completely bypass ess-remote.

It is up to you.

> I still see them if I run screen from shell, but not with term-exec as
> in your example. This is the way to go, indeed.

The problem is that gnus screen requires terminal emulation.
It might be that tmux does not (very briefly: gnu screen is no longer
developed; it has been superseded for new users by tmux; I only use
screen because I am used to it and it works for me, but if you a new to
this, you should be using tmux instead).
If you can get tmux working better than screen, I think there is no
reason to support screen because we are really using it "under the
hood", they user should not even be aware of it.

> Do you experience other problems with term-exec besides the double
> output?

yes, I see control chars every now and then, e.g.:

--8<---------------cut here---------------start------------->8---
> str(pkd.cut)
Classes ?data.table? and 'data.frame':^[[4C19819661 obs. of  11 variables:
--8<---------------cut here---------------end--------------->8---
the "^[" stands for the escape character.

Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://truepeace.org http://iris.org.il
http://americancensorship.org http://camera.org http://islamexposedonline.com
God had a deadline, so He wrote it all in Lisp.

More information about the ESS-help mailing list