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

Cannot load "s" after installing groovy-emacs-mode #2709

Closed
pedz opened this issue Jun 19, 2019 · 5 comments
Closed

Cannot load "s" after installing groovy-emacs-mode #2709

pedz opened this issue Jun 19, 2019 · 5 comments
Labels

Comments

@pedz
Copy link
Contributor

pedz commented Jun 19, 2019

I updated to the latest el-get. I go into el-get-list-packages and mark groovy-emacs-mode to be installed. I can also mark "s" to be installed or not but it doesn't make any difference.

When I am finished, groovy-emacs-mode works fine. But if I quit emacs and start it back up, when I open a file that tries to use groovy-emacs-mode, I get this error:

File mode specification error: (file-missing Cannot open load file No such file or directory s)

The work around I do is to add the el-get/s directory into my load-path which gets me working for now but I thought you guys might like to know.

@npostavs
Copy link
Collaborator

You need to put (el-get 'sync) in your init file, as explained in https://github.com/dimitri/el-get#setup.

@pedz
Copy link
Contributor Author

pedz commented Jun 20, 2019

Thank you. I was attempting to do the Advanced Usage with Local Recipes but didn't 100% understand it (or remember that I was doing it). I see now that I can sorta have my cake and eat it too by putting (el-get 'sync) after the el-get-bundle calls.

Thank you again. Its super nice to be able to add things like Groovy syntax highlighting by just picking a package. Much better than the old days before emacs packages.

@pedz pedz closed this as completed Jun 20, 2019
@npostavs
Copy link
Collaborator

Oh, I see. I've updated that section of the README to clarify that
(el-get 'sync) is required unless you keep track of dependencies
yourself.

@pedz
Copy link
Contributor Author

pedz commented Jun 21, 2019

Slight change of topic. Another symptom I saw before was el-get was not in my Info list. Now it is. I was going to read up on recipes to see if the 's' recipe needed to be modified is how I noticed.

Is that something else that (el-get sync)` does?

Hope this helps

@npostavs
Copy link
Collaborator

Is that something else that (el-get 'sync) does?

Yes, it will setup any el-get package that you have installed, which includes itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants