I think Phil is writing a guide about how he wants others to send him
patches but I think I can still provide some hints. First, I think
this belongs in swank-clojure.el its the only place where the context
of a clojure repl comes up. Phil prefers pull requests so fork swank-
clojure (I only know how to make pull requests using github
unfortunately), make a new branch with the topic describing the fix,
make the change, commit, then make a pull request by pressing the pull-
request button on github.

Hope that helps,
Brent

On Feb 13, 1:16 pm, Tayssir John Gabbour <tayssir.j...@googlemail.com>
wrote:
> Hi!
>
> Yesterday I installed Slime & Clojure via ELPA. Unfortunately, the
> REPL had no indent support for [] and {}. So this workaround runs in a
> slime-repl-mode-hook:
>
> (defun set-clojure-brackets ()
>   (interactive)
>   (set-syntax-table clojure-mode-syntax-table)
>   (set (make-local-variable 'lisp-indent-function)
>        'clojure-indent-function))
>
> Runs fine. (So far.) But how to integrate this cleanly into slime-
> repl.el... or wherever it belongs? I'm guessing that simply sticking
> it in slime-repl-mode() would mess up the REPL for other Lisp users?
>
> Thanks for any advice,
> Tayssir

-- 
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

Reply via email to