Move the swank-clojure-jar-path setting above the require of swank- 
clojure-autoload.

The README needs to be clearer about that.

On Sep 13, 2008, at 2:39 AM, Apurva Sharan wrote:

>
> I am trying out the changes - but this doesn't appear to work as  
> mentioned in the README.
>
> This is what I have now in my .emacs:
>
> (require 'clojure-mode)
> (require 'clojure-auto)
> (require 'swank-clojure-autoload)
>
> (setq swank-clojure-jar-path <absolute path to clojure.jar>)
>
> When I start emacs - I get an error
>
>
>
>
>
>
> ----- Original Message -----
> From: "Matt Revelle" <[EMAIL PROTECTED]>
> To: clojure@googlegroups.com
> Sent: Saturday, September 13, 2008 11:33:50 AM GMT +05:30 Chennai,  
> Kolkata, Mumbai, New Delhi
> Subject: Re: clojure rant
>
>
>
> On Sep 13, 2008, at 2:00 AM, Apurva Sharan wrote:
>
>>
>> Hi Alexey,
>>
>> I am using Clojure with Emacs+Slime on Ubuntu 8.04 and it works with
>> the latest version of Clojure & Clojure-contrib from SVN.
>>
>> I based my setup on the information provided in swank-clojure.clj.
>> The packages are available from: http://clojure.codestuffs.com/
>>
>> 1. Here is what I have in my .emacs specific to clojure:
>>
>> (add-to-list 'load-path <path to clojure-extras>)
>> (add-to-list 'load-path <path to swank-clojure>)
>>
>> (require 'clojure-mode)
>> (require 'clojure-auto)
>> (require 'swank-clojure)
>>
>> (setq inferior-lisp-program "clojure")
>
> Don't need to set the inferior-lisp-program.
>
>>
>>
>> (add-hook 'clojure-mode-hook
>>         '(lambda ()
>>            (define-key clojure-mode-map "\C-c\C-e" 'lisp-eval-last-
>> sexp)
>>            (define-key clojure-mode-map "\C-x\C-e" 'lisp-eval-last-
>> sexp)))
>>
>>
>> 2. I have an executable file named "clojure" in my path and
>> a .clojure.conf in my home directory. This are based off files
>> included in the clojure-extras package.
>>
>
> That external script is no longer needed, though using it will still
> work.  The classpath (and in a moment, java.library.path) can be set
> in your .emacs now.
>
>> Hope this helps ...
>>
>> Regards,
>> Apurva
>>
>>
>> ----- Original Message -----
>> From: "Alexey Goldin" <[EMAIL PROTECTED]>
>> To: "Clojure" <clojure@googlegroups.com>
>> Sent: Saturday, September 13, 2008 10:34:24 AM GMT +05:30 Chennai,
>> Kolkata, Mumbai, New Delhi
>> Subject: Re: clojure rant
>>
>>
>> Oh. Thanks, will try right now. I am doing this on Friday night and I
>> get answers immediately. Weird.
>>
>> On Sep 12, 11:49 pm, Matt Revelle <[EMAIL PROTECTED]> wrote:
>>> Hey Alexey,
>>>
>>> On Sep 13, 2008, at 12:41 AM, Alexey Goldin wrote:
>>>
>>>
>>> Well, you'll be missing tab completion for a little longer.  It's on
>>> my todo list but
>>> not highest priority.
>>>
>>>> Please forgive my rant. It is obvious that many people are using it
>>>> with great success and having much fun, so there obviously is a
>>>> way. I
>>>> just fail to see it :-) Any hint on your clojure configuration is
>>>> appreciated.  Thanks!
>>>
>>> If you swing both ways, Vimclojure is another option.
>>>
>>
>> No, I am sorry I am not swinging that far. The only thing I know  
>> about
>> vi(m) is how to exit it if I start it accidentally.
>>
>>
>> Thanks a lot!
>>
>>
>>>
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to