Skip to content
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

(setq ac-auto-start nil) causes ESS auto-complete to crash #63

Closed
sfischme opened this issue Oct 27, 2013 · 2 comments
Closed

(setq ac-auto-start nil) causes ESS auto-complete to crash #63

sfischme opened this issue Oct 27, 2013 · 2 comments

Comments

@sfischme
Copy link

  1. Load up R file
  2. start up R interpreter session in other buffer
  3. try auto-complete (=> should work)
  4. set ac-auto-start to nil
  5. try auto-complete (=> should fail)

A colleague found this likely source of the problem in ess-r-d.el:

(if (< (length ac-prefix) ac-auto-start)
@vspinu vspinu closed this as completed in 1234dd2 Oct 27, 2013
@vspinu
Copy link
Member

vspinu commented Oct 27, 2013

Thanks for this. I cannot reproduce, but your diagnostic seems right so I added a check for non-nill value. I would appreciate if you could check if it works now.

@vspinu
Copy link
Member

vspinu commented Oct 27, 2013

Ah ok, I can reproduce. Subprocess should have been connected as you pointed in your instructions. No need for a check. I can see that the fix works as expected. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants