-
-
Notifications
You must be signed in to change notification settings - Fork 653
Description
My projects.clj
looks like this:
{:user {
:dependencies [[com.cemerick/piggieback "0.2.1"]
[org.clojure/tools.nrepl "0.2.10"]]
:plugins [[cider/cider-nrepl "0.10.0-SNAPSHOT"]]
}}
I'm pretty new to clojure and cider but when I have the code in one window and cider-repl
running in the other, it is nice to be able to clear the repl buffer with C-c M-o
but C-c M-o
stops working after I have executed it once and the buffer has been cleared.
If I select cider-repl-clear-buffer
from M-x
I can see the error message:
Wrong type argument: integer-or-marker-p nil
The following stack trace in the *Messages*
buffer
Loading /Users/paulcowan/projects/scratch/src/scratch/core.clj...
=> nil
Loading /Users/paulcowan/projects/scratch/src/scratch/core.clj...
=> nil
Quit
call-interactively: Wrong type argument: integer-or-marker-p, nil
user-error: Minibuffer window is not active
call-interactively: Wrong type argument: integer-or-marker-p, nil
Auto-saving...done
call-interactively: Wrong type argument: integer-or-marker-p, nilInvalid face attribute :foreground nil
Invalid face attribute :foreground nil [117 times]
So all I do is
cider-jack-in
- Write some code and
C-c C-k
to execute it. C-c M-o
and the buffer clears- Write some code and
C-c C-k
to execute it. - hit
C-c M-o
again andcider-repl-clear-buffer
no longer works.
If nobody else is experiencing this error, I wonder if my workflow of using C-c C-k
is normal?