Some months ago my ability to send non-ascii characters to clojure running in a swank server started with maven clojure:swank broke, despite the fact that I'm doing this:
(set-language-environment "UTF-8") (setq slime-net-coding-system 'utf-8-unix) In my .emacs file as suggested back in June 2009. Since I haven't updated any of my tooling for quite some time, I though, I'd give it a try and upgrade to current releases of clojure-mode, clojure-swank and slime. I guess I hoped that the breakage might be a bug since fixed. I'm using Emacs 23.3.1; package.el 0.9 Here's what I was using before the upgrade: - slime-20100404 via package.el - slime-repl20100404 via package.el - swank-clojure-1.1.0 via package.el - clojure-test-mode-1.4 - clojure-mode 1.7 - clojure-maven-plugin 1.3.3 - swank-clojure 1.2.1 This combination worked pretty well, except that I can't get non-ascii text to the clojure process via the slime repl. When I attempt this, the repl just seems to freeze. I can continue to type at it, but the prompt never reappears and no output is produced. The console from which mvn clojure:swank was started does not show any output (e.g. no stack trace). I took this as an opportunity to upgrade my tooling. I remember the tooling upgrade was quite a pain for me back with the clojure 1.1->1.2 transition, but hoped that things would work out better this time. I tried to upgrade first from within package.el, but the default package.el repository is (1) slow and (2) outdated. I discovered the advice on https://github.com/technomancy/swank-clojure/ and: (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) marmelade was also very slow, but after some minutes presented me with a list containing more recent versions of various clojure related packages. Unfortunately, installation took many minutes before finally taking many minutes to 'parse the http repose header' (or words thereabout) and then doing nothing and not actually installing anything. I scrapped that idea, and proceeded to install the upgrades by hand from git sources: - clojure-mode 1.8.0 - clojure-test-mode 1.5.4 - slime, slime-repl c27dd18db765c005bbdac9044b8ab513805e7e75 https://github.com/technomancy/slime.git - clojure-maven-plugin 1.3.8 - swank-clojure 1.3.0 Results: - M-x slime-connect no longer works out of the box. M-x load-library slime is necessary - When the repl starts, it is not displayed. M-x load-library slime-repl, M-x slime repl is necessary - The repl is not clojure compatible, displaying instead the promt "CL-USER>" So. Experiment a failure. Thankfully I keep my emacs stuff under version control, so I'll just revert back to the last known good state and live without non-ascii characters. It's not at all clear to me what combinations of what versions of these various components are intended to work together. The "use package.el" advice is nice, but, again, it didn't work for me. Should I just give up on slime and just run inferior clojure process and use (load "...") or copy/paste? Is it possible to diagnose from this meandering tale, where I went wrong? // Ben -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en