Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get cider for clojure working #507

Closed
murtaza52 opened this issue Apr 2, 2014 · 8 comments
Closed

Unable to get cider for clojure working #507

murtaza52 opened this issue Apr 2, 2014 · 8 comments

Comments

@murtaza52
Copy link

Hi,

Firstly thanks for the great work on prelude !

I cloned your repo, and made it as my ~/.emacs.d. Then I uncommented the clojure module, from the prelude-modules file.

I then restarted prelude and opened a .clj file. This led to couple of files being downloaded and compiled. However when I do M-x, I cant find any commands for cider.

I would love to use prelude for clojure development. I think it provides a great base, and would like to add all my favourite clojure packages to it. Can you please help me debug this issue ?

@regnerjr
Copy link

regnerjr commented Apr 3, 2014

I don't think cider is installed with prelude. Try using M-x package-list-packages to install.
from the cider github repo installation instructions

@murtaza52
Copy link
Author

However its included in the (prelude-require-packages '(clojure-mode
clojure-test-mode cider)) in the prelude-clojure.el.

Wont this install cider ? If not then where do I include it so that it
installs it on startup. (I want to avoid manual installation using M-x
package-list-packages,
as one of the main advantages of prelude is the ability to specify packages
and have them installed.

On Thu, Apr 3, 2014 at 7:24 AM, John Regner [email protected]:

I don't think cider is installed with prelude. Try using M-x
package-list-packages to install.

Reply to this email directly or view it on GitHubhttps://github.com//issues/507#issuecomment-39404962
.

@regnerjr
Copy link

regnerjr commented Apr 3, 2014

You must move the sample/prelude-modules.el to ~/.emacs.d then uncomment/add your required packages (require 'prelude-clojure). https://github.com/bbatsov/prelude#enabling-additional-modules

@murtaza52
Copy link
Author

John thanks for all the help.

I had cloned your repo and had symlinked the cloned folder ~/emacs-prelude
to ~/.emacs.d. So I copied the ~/emacs-prelude/samples/prelude-modules.el
to the ~/emacs-prelude/prelude-modules.el

Now when I start emacs get the following error -

Warning (initialization): An error occurred while loading
`/Users/murtaza/.emacs.d/init.elc':
error: Error during download request: Not Found

One curious thing - When I open the ~/emacs-prelude project and search for
the file S-f, I see the prelude-modules.el file still in the sample folder.
However when I open it using C-x C-f I can open it from its correct
physical location.

On Thu, Apr 3, 2014 at 7:53 AM, John Regner [email protected]:

You must move the sample/prelude-modules.el to ~/.emacs.d then
uncomment/add your required packages (require 'prelude-clojure).
https://github.com/bbatsov/prelude#enabling-additional-modules

Reply to this email directly or view it on GitHubhttps://github.com//issues/507#issuecomment-39406304
.

@bbatsov
Copy link
Owner

bbatsov commented Apr 4, 2014

Download problems happen from time to time. I guess you've managed to download cider in the end.

@murtaza52
Copy link
Author

Nope never managed that :) However I love the projectile integration, and
the prelude keybinings (prelude mode). So now I am trying to integrate
prelude wth emacs-live (the other way round), and have one minor hitch in
that. Opening another issue for that.

On Fri, Apr 4, 2014 at 4:48 PM, Bozhidar Batsov [email protected]:

Download problems happen from time to time. I guess you've managed to
download cider in the end.

Reply to this email directly or view it on GitHubhttps://github.com//issues/507#issuecomment-39554733
.

@bbatsov
Copy link
Owner

bbatsov commented Apr 4, 2014

That's odd. Perhaps you don't know that, but I'm also the developer of cider and it always works fine on Prelude.

@murtaza52
Copy link
Author

I must be doing something wrong. I am sure if I had manually installed it
then it would have worked.

I like the autocomplete, git integration, packs etc from emacs-live ....

On Fri, Apr 4, 2014 at 4:57 PM, Bozhidar Batsov [email protected]:

That's odd. Perhaps you don't know that, but I'm also the developer of
cider and it always works fine on Prelude.

Reply to this email directly or view it on GitHubhttps://github.com//issues/507#issuecomment-39555276
.

kajism added a commit to kajism/prelude that referenced this issue Feb 14, 2022
The prelude-modules.el file must be copied from sample/ to personal/ and modifed there (not in the prelude root dir).

The problem was mentioned also here, but the reason of the problem was not discovered: bbatsov#507
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants