Comments (5)
Hello. Thanks for reporting this issue. I have not tried swiper yet and as such I can't easily debug this issue at the moment to say what the problem may be.
Perhaps other users of swiper or emacs solidity can help until I find some time?
from emacs-solidity.
I have same problem here.
The problem occurs when the point is on a variable and I'm hitting C-s
for swiper
.
from emacs-solidity.
Hey guys, so can any of you who has knowledge of swiper and elisp try to debug this? I don't have swiper in my setup and at the moment don't have time to set it up and debug.
from emacs-solidity.
Commenting out the following line from the definition of solidity-font-lock-keywords
fixes the issue. I don't know why, yet -- the failure occurs after the call to solidity-match-variable-decls
. (I found it by bisection search on solidity-font-lock-keywords
, which I identified as a likely cause from the backtrace I posted above.)
'(solidity-match-variable-decls (1 font-lock-keyword-face)
(4 font-lock-variable-name-face))
from emacs-solidity.
I think, the bug is in sexp. first element is always a call (unless the list is quoted). So here, when evaluating the sexp, we try to call function 1
with parameter font-lock-keyword-face
. Same with 4
.
from emacs-solidity.
Related Issues (20)
- 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.