"AndrewC." <[email protected]> writes:
> On Mar 16, 2:08 pm, David Nolen <[email protected]> wrote:
>> On Mon, Mar 16, 2009 at 3:42 AM, Tassilo Horn <[email protected]>wrote:
>>
>>
>>
>> > When adding ~/.clojure/ to `swank-clojure-extra-classpaths' and starting
>> > SLIME, htop shows that this directory is not in the -cp java option.
>> > Sending a SIGINT kills the clojure process and doesn't interrupt the
>> > current Thread only...
>>
>> I've noted that you cannot interactively change that variable. If you
>> change it you must restart your emacs session for it to take effect. If you
>> haven't already checked this of course.
>
> The problem here is that swank-clojure adds clojure to the slime-lisp-
> implementations once only after slime is loaded.
Exactly, and my configs where set after swank-clojure was loaded.
Unfortunately slime is loaded first. See
<[email protected]>
for details.
> The other problem is that it uses add-to-list so if you reload slime
> to refresh the value of slime-lisp-implementations, you end up with
> two clojure entries in the list.
Why do you think? add-to-list adds only if there's no such item in the
list already.
> I don't have a good solution, so I just run this by hand when I've
> changed swank-clojure-extra-classpaths:
>
> (setq slime-lisp-implementations `((clojure ,(swank-clojure-cmd) :init
> swank-clojure-init)))
In <[email protected]> I describe how I solved it now.
--
Richard Stallman can solve the halting problem... in polynomial time.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---