On Fri, May 8, 2009 at 5:43 AM, Baishampayan Ghose wrote:
>
> Stephen C. Gilardi wrote:
>
> > I've simplified my .emacs file and clojure launch script to only what's
> > required for my slime setup to work with swank-clojure. With this
> > simplified setup, I confirmed that slime's repl works and
On May 8, 6:49 pm, Baishampayan Ghose wrote:
> Asbjørn Bjørnstad wrote:
> > Just speaking for myself, I do this to set up a classpath that
> > includes all the third-party jars I've downloaded and use in
> > my projects. I did this long time ago and haven't looked at it
> > since (Too busy at wo
Asbjørn Bjørnstad wrote:
> Just speaking for myself, I do this to set up a classpath that
> includes all the third-party jars I've downloaded and use in
> my projects. I did this long time ago and haven't looked at it
> since (Too busy at work.) What's the "proper" way of doing
> this in a slime
On Apr 30, 1:47 am, Phil Hagelberg wrote:
> > (setq swank-clojure-binary "clojure")
>
> > (add-to-list 'slime-lisp-implementations
> > '(clojure ("/home/ghoseb/bin/clojure") :init
> > swank-clojure-init))
>
> It looks like you're using a wrapper script rather than letting
> swank-
Stephen C. Gilardi wrote:
> I've simplified my .emacs file and clojure launch script to only what's
> required for my slime setup to work with swank-clojure. With this
> simplified setup, I confirmed that slime's repl works and that M-. after
> typing (+ brings me to the definition of + in clojur
On May 7, 2009, at 3:39 PM, Baishampayan Ghose wrote:
I tested with a new jar with the clj files, even then it doesn't
work :(
Need help :)
Hi BG,
I've simplified my .emacs file and clojure launch script to only
what's required for my slime setup to work with swank-clojure. With
this
Steve,
I tested with a new jar with the clj files, even then it doesn't work :(
My ~/.emacs is thus -
;;;
(defvar clj-root (concat (expand-file-name "~") "/src/clj/"))
(setq load-path (append
(list (concat clj-root "clojure-mode"))
load-path))
(require 'clojur
On May 7, 2009, at 2:37 PM, Baishampayan Ghose wrote:
That's right. The clojure.jar that I am using contains only the AOT
compiled .class files.
The default "ant" build includes both compiled files and sources in
the clojure.jar it produces.
Should I use the "slim" jar instead?
The clo
Phil Hagelberg wrote:
>> But it still doesn't work for Clojure's internal functions in, say, core.clj
>
> Not sure, but it could be due to your Clojure copy being AOT compiled
> without having the original .clj file around? That'd be my guess. Take
> a look inside your jar or classes directory a
Baishampayan Ghose writes:
>> It looks like you're using a wrapper script rather than letting
>> swank-clojure construct a "java" command-line invocation. I'm not sure
>> why you're doing this; working with the defaults might fix it.
>
> Many thanks. Just using the conf generated by clojure-inst
Phil,
>> (setq swank-clojure-binary "clojure")
>>
>> (add-to-list 'slime-lisp-implementations
>> '(clojure ("/home/ghoseb/bin/clojure") :init
>> swank-clojure-init))
>
> It looks like you're using a wrapper script rather than letting
> swank-clojure construct a "java" command-line i
Baishampayan Ghose writes:
> Can you kindly share your working dotfiles and enlighten me?
I use M-x clojure-install plus (clojure-slime-config), since I wrote
it. This this is _all_ you need for projects that don't have
dependencies on third-party jars.
For some other projects, I've been using
Here's a .emacs snippet that works for me:
;; SLIME setup (clojure)
(add-to-list 'load-path "~/.emacs.d/slime/") ; your SLIME directory
(add-to-list 'load-path "~/.emacs.d/") ; clojure-mode.el is here
(add-to-list 'load-path "~/.emacs.d/swank-clojure") ; swank-clojure directory
(setq swank-cloju
Phil,
> I suspect the problem might have to do with the fact that you're
> configuring slime for both SBCL and Clojure. I know it's possible to
> get this working, but it's a lot more complicated that way. I'd
> suggest having one file for clojure slime config and one for sbcl, and
> only load on
On Tue, Apr 28, 2009 at 2:33 AM, Baishampayan Ghose
wrote:
>>> It works for me. Are you trying to look up a built-in clojure function
>>> or one from your own application? How did you install SLIME and
>>> swank-clojure etc?
>
> Any ideas with the problem? I provided all the info in the earlier m
Shawn,
> In case of a function that I wrote somewhere in a file and loaded in
> SLIME, I get an exception - java.lang.StringIndexOutOfBoundsException:
> String index out of range: -1 (NO_SOURCE_FILE:0) (in *Messages* I get
> funcall: Synchronous Lisp Evaluation aborted)
>
>
> I
On Mon, Apr 27, 2009 at 3:08 AM, Baishampayan Ghose wrote:
>
> Phil,
> > It works for me. Are you trying to look up a built-in clojure function
> > or one from your own application? How did you install SLIME and
> > swank-clojure etc?
>
> It doesn't work for either. When I try looking up a clojure
>> It works for me. Are you trying to look up a built-in clojure function
>> or one from your own application? How did you install SLIME and
>> swank-clojure etc?
Any ideas with the problem? I provided all the info in the earlier mail.
This issue is really biting me :)
Regards,
BG
--
Baishampa
Phil,
> It works for me. Are you trying to look up a built-in clojure function
> or one from your own application? How did you install SLIME and
> swank-clojure etc?
It doesn't work for either. When I try looking up a clojure-contrib
function, I get let*: Search failed: " clojure/contrib/str_uti
On Sun, Apr 26, 2009 at 7:25 AM, Baishampayan Ghose
wrote:
> I am a Clojure newbie and I have been trying to get M-.
> (slime-edit-definition) and the corresponding
> M-,(slime-pop-find-definiton-stack) to work with Clojure.
>
> Right now, if I press M-. I get "Search failed" in he minibuffer.
>
Hello,
I am a Clojure newbie and I have been trying to get M-.
(slime-edit-definition) and the corresponding
M-,(slime-pop-find-definiton-stack) to work with Clojure.
Right now, if I press M-. I get "Search failed" in he minibuffer.
Is there any way to get it to work, or am I doing something co
21 matches
Mail list logo