-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ess-synchronize-dirs causes error #10
Comments
I'm not in love with One possibility would be to debug and test echoed inputs with the R REPL. The Or maybe it's possible to configure stata not to echo inputs? The other thing to consider is whether |
I've e-mailed Stata tech support to see if Stata can be told not to echo inputs (it behaves differently in "normal" terminals). I agree that fixing What seems to me the simplest way to fix it would be to add code (as exists elsewhere) that does "if comintp-process-echoes and looking-at input, delete input" at the right moment. But there might be better solutions than duplicating code. |
Problems with |
That was my guess, it looks like we need to make g-w-f-v generic. |
Stata Corp tell me it's the terminal's behaviour, not Stata's. I think they may be mostly right, and the problem is that ESS isn't consistently honoring In an xterm, Stata doesn't duplicate the input. |
Could it be that we just need to set Or maybe the same inferior initialisation as in R's iESS mode? (setq-local comint-process-echoes (eql ess-eval-visibly t)) |
I don't think it's going to be as simple as that. You've seen the other thread at #1 (comment). |
What happens if you add |
No change. |
ess-synchronize-dirs
causes an error because(ess-command ess-getpwd-command)
fails. That fails because Stata echoes the command in the*ess-get-words*
buffer used byess-command
.Two possibilities:
1: remove
ess-synchronize-dirs
fromess-idle-timer-functions
and do without the functionality2: edit
ess-command
to checkcomint-process-echoes
and behave accordingly.Option 1 is easy. Option 2 is better but more difficult, as the existing code seems to be written without taking the possibility of echoed input into account.
The text was updated successfully, but these errors were encountered: