Hi all,

I just thought I'd write to share a terrible (but maybe useful!) hack
for SLIME.  I've written some code that sniffs around the classpath to
find libraries matching some regexp, then inserts the appropriate
`import' sexps into the current buffer.  For example:

  M-x clj-import [RET] IndexWriter [RET]

inserts (for my classpath):

  (import '(org.apache.lucene.index IndexWriter IndexWriter
$MaxFieldLength))

Yep, I'm *that* lazy.  I've put the code here:

  http://dishevelled.net/Generating-Clojure-import-lines-using-SLIME.html

Cheers,

Mark

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