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

When using C-c M-J, only one REPL is opened automatically #105

Closed
raxod502 opened this issue Aug 19, 2016 · 1 comment
Closed

When using C-c M-J, only one REPL is opened automatically #105

raxod502 opened this issue Aug 19, 2016 · 1 comment

Comments

@raxod502
Copy link
Member

This is due to the following piece of configuration in init.el, which does not account for C-c M-J (only C-c M-j):

  ;;; Don't focus the cursor in the CIDER REPL once it starts. Since the
  ;;; REPL takes so long to start up, especially for large projects, you
  ;;; either have to wait for a minute without doing anything or be
  ;;; prepared for your cursur to suddenly shift buffers without warning
  ;;; sometime in the near future. This is annoying, so turn off the
  ;;; behavior.
  (setq cider-repl-pop-to-buffer-on-connect nil)

  ;;; However, turning off the pop-to-buffer setting also prevents the
  ;;; REPL buffer from *opening*. To fix this problem, we add an advice
  ;;; to open the REPL buffer after the REPL has started.
  (defadvice cider-repl-init (after display-repl-buffer)
    (display-buffer buffer))

It should be adjusted to additionally show the CLJS REPL buffer, if one exists.

@raxod502
Copy link
Member Author

Resolved in a1c2992.

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

No branches or pull requests

1 participant