Skip to content

Commit 514dcb3

Browse files
committed
Merge pull request #497 from scottdw/patch-1
Update README.md for issue #474
2 parents bf918a5 + 15f0c3f commit 514dcb3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,31 @@ implementation middleware which relies on
568568
your project middlewares and call `(cemerick.piggieback/cljs-repl)` or
569569
another method to start up the cljs REPL.
570570

571+
### Microsoft Windows
572+
573+
On Microsoft Windows the JVM default line separator string is `\r\n`
574+
which can appear in Emacs as `^M` characters at the end of lines
575+
printed out by the JVM. One option is to set the
576+
`buffer-display-table` to not show these characters as detailed
577+
[here](http://stackoverflow.com/questions/10098925/m-character-showing-in-clojure-slime-repl/11787550#11787550)
578+
(changing `slime-repl-mode-hook` to
579+
`cider-repl-mode-hook`). Alternatively, setting the system property
580+
`line.separator` to `\n` at JVM startup will stop the carriage return
581+
from being printed and will fix output in all cider buffers. To do so
582+
add `"-Dline.separator=\"\n\""` to `:jvm-opts` in
583+
`~/.lein/profiles.clj`.
584+
585+
### powershell.el
586+
587+
The powershell inferior shell mode truncates cider repl output when
588+
loaded. As a workaround remove
589+
590+
```el
591+
(require 'powershell)
592+
```
593+
594+
from your Emacs config.
595+
571596
## Changelog
572597

573598
An extensive changelog is available [here](CHANGELOG.md).

0 commit comments

Comments
 (0)