On 27 Apr 2011, at 11:13, John V wrote:
> Hi, I would like to have syntax highlighting for Clojure code in
> Emacs. I am using Emacs on Windows (23.2.1).
> <SNIP>
> I would like to use Emacs as a text editor, not as a combination IDE/
> ftp browser. Is there a clojure mode written which is simple to
> download and use?
A couple of good starting points are
* emacs-starter-kit: https://github.com/technomancy/emacs-starter-kit
* live coding emacs config: https://github.com/overtone/live-coding-emacs
I used the starter kit when I got started with emacs and found it very useful. As everyone should with emacs, I started modifying it to do the kinds of things I wanted and ended up with the live coding emacs config which is set up just the way I like it for Clojure coding with emacs.
You might find some inspiration looking at these.
Sam
https://github.com/technomancy/emacs-starter-kit.git
it helped me a LOT when getting started with emacs in general, and
emacs and clojure together. i also put together a couple of blog posts
on my experience of using it which might be useful for you:
http://blog.gaz-jones.com/post/2486737162/setting-up-clojure-development-on-osx-using-emacs-and
http://blog.gaz-jones.com/post/2501842155/interactive-clojure-development-in-emacs-with-leiningen
gaz
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
If you are only interested in the editing features, you just need
clojure-mode. You can get it directly at:
https://github.com/technomancy/clojure-mode
// raek
I happened to have access to a computer running Windows 7 with exactly
that Emacs version, so I thought I'd try to investigate the error.
However, I could not reproduce it. For me, package.el was able to
access the GNU repo. Maybe this was a network issue?
One thing you could try (if you still are interested in using
package.el, that is) is to leave out the GNU repo, since it's not used
in the tutorial. The Marmalade repo, which supersedes the original
ELPA repo, should contain everything you need to follow the tutorial.
In the instructions you linked, replace this:
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
with this:
(setq package-archives
'(("marmalade" . "http://marmalade-repo.org/packages/")))
I could add "editing-only" instructions to the Getting Started page
this evening. Do you have any comments regarding what they should
contain?
// raek