Comments (6)
@hzzhang It seems that the owner of Melpa added an exclusion rule in Melpa for that file. He probably assumed that it's two different packages but now @ssmolkin1 has integrated it into this package so we need to fix this. I made a PR to Melpa for this:melpa/melpa#5802
from emacs-solidity.
Seems this cause this recursive load error:
Initialization fails with: "Recursive load: \"/home/stardiviner/.emacs.d/elpa/solidity-mode-20180912.2154/solidity-mode.elc\", \"/home/stardiviner/.emacs.d/elpa/company-solidity-20180407.2044/company-solidity.el\", \"/home/stardiviner/.emacs.d/elpa/solidity-mode-20180912.2154/solidity-mode.elc\", \"/home/stardiviner/.emacs.d/elpa/company-solidity-20180407.2044/company-solidity.el\", \"/home/stardiviner/.emacs.d/elpa/solidity-mode-20180912.2154/solidity-mode.elc\", \"/home/stardiviner/.emacs.d/elpa/company-solidity-20180407.2044/company-solidity.el\", \"/home/stardiviner/.emacs.d/elpa/solidity-mode-20180912.2154/solidity-mode.elc\", \"/home/stardiviner/.emacs.d/elpa/company-solidity-20180407.2044/company-solidity.el\", \"/home/stardiviner/.emacs.d/elpa/solidity-mode-20180912.2154/solidity-mode.elc\""
Here is my config:
(use-package solidity-mode
:ensure t
:no-require t)
(use-package company-solidity
:ensure t
:no-require t
:config (add-hook 'solidity-mode-hook
(lambda ()
(my-company-add-backend-locally 'company-solidity))))
I know company-solidity
is in solidity-mode
now. But MELPA separated package cause this problem.
from emacs-solidity.
Also, the README should be updated too.
from emacs-solidity.
I'm currently having problem with this one too. Getting an error message saying:
Recursive `require` for feature `solidity-mode`.
As I've looked into the issue and PR in melpa its still open.
from emacs-solidity.
Yeah guys will work on it as soon as I ffind some tme. It's on my TODO list.
from emacs-solidity.
All right sorry for the delay. The melpa PR is now merged.
As also reflected now in the readme company-solidity
and solidity-flycheck
are two different packages that need to be explicitly required by the user.
from emacs-solidity.
Related Issues (20)
- swiper/solidity-mode incompatibility HOT 5
- Does not work HOT 5
- parent mode is c-mode in `define-derived-mode` HOT 2
- Indentation After Structs HOT 5
- Unable to make `solidity-flycheck-solc` work HOT 26
- Create a test suite
- Flycheck Gets Stuck at Import HOT 7
- solc `--old-reporter` flag removed in solc 0.8.0 HOT 1
- change indent in solidity mode HOT 2
- el-get-install can't install the package, Ubuntu 20.04 HOT 1
- melpa instruction needs more details
- Gracefully indenting structs and assembly blocks. HOT 14
- solidity-flycheck requires el package to be included in source, otherwise does not work HOT 3
- Constructor body idents too many levels HOT 1
- Keywords inside a string always bolded and colored HOT 2
- [request] lsp mode support HOT 7
- [request] Port Consensys' vscode solidity auditor plugin
- Does this work in Windows
- `remove-if-not` function definition is void
- Default indentation doesn't look right to me HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-solidity.