Open olssol opened 2 years ago
@olssol Neither C-n nor C-b is the binding to open a new process. C-n: evil-mc-make-and-goto-next-match C-b: evil-scroll-page-up
@olssol Neither C-n nor C-b is the binding to open a new process. C-n: evil-mc-make-and-goto-next-match C-b: evil-scroll-page-up
Thank you. Please see the updated issue.
Confirmed.
It's working okay in vanilla Emacs.
It's working okay in vanilla Emacs.
Seems like a problem with helm, but I am not certain. Can you advise what I should try or where I should report the issue?
@olssol
Before evaluating anything, can you try
SPC '
to start an R process first.
Then both key bindings seem to work.
This is indeed an issue with the way that helm
and ess
interact. In brief, when trying to spawn a new process, ess
inhibits the creation of new windows, but when ess
tries to figure out what you want your initial working directory to be, helm
swoops in to provide completion but it tries to do so in a new window (which is not allowed), and thus you get a problem. It's discussed at more length here, where I also propose a simple workaround. That issue is "closed" although AFAICT, the specific helm
+ ess
interaction issue is not resolved.
I think it could be fixed upstream (in probably a somewhat hacky way) in either helm or ess, but I haven't found the time to dive in to try to fix either, in part because the approach @lebensterben proposes (just start an R process first using SPC m '
) is essentially muscle-memory to me by now.
I have opened emacs-ess/ESS#1183 upstream which will hopefully resolve this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Fixed upstream, so this issue can be closed
Description :octocat:
Problem with starting R process by C+n or C+b from within R mode
Reproduction guide :beetle:
Observed behaviour: :eyes: :broken_heart: Receive message "wrong-type-argument window-live-p nil"
Expected behaviour: :heart: :smile: Expect an R session to be started in a new buffer
System Info :computer:
Backtrace :paw_prints: