-
Notifications
You must be signed in to change notification settings - Fork 160
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
iESS entering extra lines and freezing #1226
Comments
Is this with the latest dev version? |
@lionel- , this bug persists, but I think I know a little more about what might be the culprit. I originally reported this as a bug in corfu (#234), which itself was a duplicate of #229. The author of CORFU said it was a bug with the ESS Capf. CORFU works fine for me when I don't have auto-completion enabled |
I think I'm actually experiencing the same error. I posted the referenced issue. The inferior buffer and R process seems to crash during completions in the ESS buffer when writing code. |
@atanasj, if you want to use corfu with ESS/iESS, I have found it works fine with the following configuration (if you use (use-package corfu
;; Optional customizations
:custom
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
;; Recommended: Enable Corfu globally.
:init
(global-corfu-mode))
;; A few more useful configurations...
(use-package emacs
:init
;; TAB cycle if there are only few candidates
(setq completion-cycle-threshold 3)
;; Emacs 28: Hide commands in M-x which do not apply to the current mode.
;; Corfu commands are hidden, since they are not supposed to be used via M-x.
;; (setq read-extended-command-predicate
;; #'command-completion-default-include-p)
;; Enable indentation+completion using the TAB key.
;; `completion-at-point' is often bound to M-TAB.
(setq tab-always-indent 'complete)) I have also not experienced this problem with company. |
Thanks @cddesja, I'll give that config a try and hopefully that sorts it out. I too had no issues when using company, with or without lsp-mode. However, corfu seems faster and works with every other language without issue, so if I can get a config with corfu working with ESS I'd rather do that than go back to company. |
@cddesja, that worked! Thanks! Hopefully the issue can be fixed here and this is just a temporary work around. |
I am encountering two issues that I managed to capture in the GIF below.
head(data_name)
makes iESS non-responsive. Hitting C-c C-c does nothing and I have to close Emacs.Not sure how to troubleshoot these issues or provide more information, but I'm happy to if someone can help me. This happens pretty frequently every 5 minutes or so, making ESS/iESS unusable for long.
The text was updated successfully, but these errors were encountered: