Enlive tutorial on github by David Nolen.

134 views
Skip to first unread message

Manoj Waikar

unread,
Aug 29, 2011, 3:51:25 AM8/29/11
to enliv...@googlegroups.com
Hi,

I am working through the enlive tutorial by David Nolen on github.

If I run the examples using lein repl (in a repl) they run fine, but if I do lein swank and try to run them in emacs, I get some weird error -

Debugger entered--Lisp error: (end-of-file)
  byte-code("\302\300 \"\210\303    \304\"\210\300\305 \"\207" [error process debug slime-net-close t "net-read error: %S"] 3)
  slime-net-read-or-lose(#<process SLIME Lisp>)
  slime-process-available-input(#<process SLIME Lisp>)
  slime-net-filter(#<process SLIME Lisp> "000013(:write-string \"\n\")00003e(:write-string \"Room for Debate: Are Research Papers Passe?\n\")00001e(:write-string \"     No byline\n\")000060(:write-string \"     The Internet has changed how students work. Should curriculums evolve, too?\n\")000023(:write-string \"nil\n\" :repl-result)000016(:return (:ok nil) 36)")
  recursive-edit()
  byte-code("\306     @\307=\203!

Is it expected?

Thanks,
Manoj.

Nandan Bagchee

unread,
Aug 29, 2011, 4:31:32 PM8/29/11
to enliv...@googlegroups.com
This is likely to be a charset issue with slime.

C-h v slime-net-coding-system

Customize it to utf-8-unix and set it for all sessions, now and in the future.

Alternatively, eval-expression for your session:

M-:  (setq 'slime-net-coding-system 'utf-8-unix)

 

Manoj Waikar

unread,
Sep 23, 2011, 2:27:31 PM9/23/11
to enliv...@googlegroups.com
Thanks Nandan, it did the trick.
Reply all
Reply to author
Forward
0 new messages