Re: Clojure/SLIME/Emacs questions

2009-12-31 Thread william douglas
 Well, it clearly works for Lau, but then he says in one of the screencasts 
 that he's using an old version of Slime; if you install technomancy's slime 
 package from  ELPA, I believe you don't get all the slime extensions, which 
 would easily explain why the fuzzy completion doesn't work. I'm using that 
 slime from ELPA, and   fuzzy completion is also not working for me.

Right now the ELPA slime package does not include contrib (which
contains slime-fuzzy and a number of other things).  I am attempting
to add just the required pieces to ELPA to get slime-fuzzy working.
If you would like fuzzy complete to work before this, you will want to
grab slime from technomancy's github repo and then add something like
the following to your .emacs:

(add-to-list 'load-path ~/slime/contrib/)
(eval-after-load slime
  '(progn
 (require 'slime-fuzzy)
 (setq slime-complete-symbol*-fancy t)
 (setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol)))

Note that if you are using slime-connect the fuzzy complete might not
work though the following patch may fix that for you if you are using
lein swank to launch your swank session (patch from Takeshi Banse,
tak...@laafc.net):

diff --git a/src/leiningen/core.clj b/src/leiningen/core.clj
index a5261f4..685aab1 100644
--- a/src/leiningen/core.clj
+++ b/src/leiningen/core.clj
@@ -81,4 +81,5 @@ (defn -main [ [task  args]]
 (abort (format Wrong number of arguments to task %s.
task)
;; In case tests or some other task started any:
-(shutdown-agents)))
+;;(shutdown-agents)
+))

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


Re: Boggle solver

2009-11-09 Thread william douglas

Very nice, I had actually been implementing a boggle solver for my
optimal boggle grid generator (5x5 with no limits on number of letters
on dice).  I hadn't discovered the wonders of assoc-in though which
makes things look much nicer when creating nested maps.  I really like
the layout of your code in general too though I'm a beginner with
clojure myself.

Mind if I fork your solution into mine for the grid creation as your
solver has very nice performance?



-William

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



Re: Instructions for Emacs+SLIME

2009-05-28 Thread william douglas

That's awesome Phil!

I have been using the starter-kit for awhile since you have a fair ton
of goodies in there and this provides a great reference for getting my
3 or 4 different clojure set ups consistently working (instead of a
version that has java api help integrated, one that has maven hook
ups, one for introspective debugging etc).

I used to have sbcl set up to work with clojure using the same config
(as per Bill's blog) but I found that really wasn't working for me and
I decided that to just have different init files.

Again great write up, the community of emacs and clojure users are
lucky to have you!

On Thu, May 28, 2009 at 12:54 PM, Phil Hagelberg p...@hagelb.org wrote:


 I just posted some instructions for getting up and running with
 SLIME. I've seen a lot of folks get confused with some of the more
 convoluted tutorials out there, so I thought it'd be helpful to document
 the simplest way to get started that I know:

  http://technomancy.us/126

 I welcome feedback on this, particularly about using Common Lisp
 together with Clojure as this supposedly makes things a bit trickier.

 Hope this is useful to folks getting started.

 -Phil

 


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



Re: Clojure, SAP and JCo

2009-05-04 Thread william douglas

Not yet but I've been wanting to start working on this as well.  I'd
love to hear if anybody has experience with this.


William

On Mon, May 4, 2009 at 12:27 PM, Sean Devlin francoisdev...@gmail.com wrote:

 Hi,
 Has anyone else here been using Clojure to interact with SAP?  Or, are
 there any JCo experts in the house?

 Sean
 


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