-
Notifications
You must be signed in to change notification settings - Fork 67
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
I installed via Melpa but not loading #3
Comments
This is the right place to ask. Can you do |
Debugger entered--Lisp error: (void-function solidity-mode) |
I have the same error. Some ideas? I use emacs 24.5.1 Thanks! |
Same problem here. Any idea? |
I will have a look tomorrow. Will keep you guys up to date. Installing from el-get works since I use it from there but perhaps there is an issue with Melpa. I will fix it as soon as I can reproduce it. |
How did you try to install the package? (require 'solidity-mode) |
Actually now it seems to be working. But still I get some warnings during installation: These are the steps I follow:
I get the following warnings on the emacs console:
I have solidity compiler installed:
After adding the (required 'solidity-mode) to my .emacs I see the syntax and seems to be working now. However I am not sure if the warnings during install are intended to be there. Kind regards, Santiago |
Thank you for the very detailed report @santiagorp. I also get some of these warnings, they are harmless. I am going to push some fixes for some of them soon. |
Fixed some of the warnings. Will see if I can handle the rest at some point later, but they are mainly harmless. As for the original issue this should be fixed so I am closing this now. Please open additional issues for any further problems. |
By @bmag at https://gitter.im/syl20bnr/spacemacs
|
@paulperegud Thank you Paul. I will use his examples and try to provide a fix. PRs are always welcome! The problem is I don't see this as a problem with my configuration so I would have to copy someone else's configuration to experience the issue. |
@paulperegud I added the magic autoload comment as defined in the emacs wiki. Can you check if your configuration is working better now? |
No, it does not fix loading. I've tried adding this line myself, to no avail. Since you've asked for my env, here it is.
And .spacemacs to replicate the issue: https://gist.github.com/paulperegud/9302694f388410071ae31cecccefc7f9 Installation steps:
|
To force spacemacs to recompile it's configuration use "SPC f e d" to go to .spacemacs file, "SPC f s" to save it, "SPC f e R" to run configuration update process. |
@LefterisJP @paulperegud you need to wait for MELPA to catch up on the changes. It usually takes less than 5 hours.
That's not a re-compile, that's a reload. Recompile is something different, and has to do with |
I am using Spacemacs and Emacs v 25 I was receiving this error message (see Issue 8)
I commented out the following and it works fine, but I guess I don't have flycheck:
|
@tbrooke That appears to be a different issue. Can you make a new issue and paste what you wrote there? |
@bmag @paulperegud Great to hear. I am not familiar with spacemacs, I ofcourse know of Melpa but use If the loading issue is resolved for all of you then please tell me and I will close the issue. If not I will play with spacemacs to see what is wrong. |
I did "/usr/bin/solc"' is a malformed function #8 But I guess I wasn't clear so I reposted it |
@paulperegud @bmag Both in normal emacs melpa and in spacemacs with the configuration you provided solidity mode seems to be auto-loaded fine right now. Only at spacemacs there seems to be the issue @tbrooke reported though, but I will address this in the other issue. If it's okay with you @paulperegud and you can confirm it's fine now I will close the ticket. |
@LefterisJP problem is fixed, confirming! |
Thanks Paul! |
This may not be the right place to ask but I get FIle mode specification error: (void-function solidity-mode)
The text was updated successfully, but these errors were encountered: