Giter VIP home page Giter VIP logo

Comments (5)

LefterisJP avatar LefterisJP commented on August 23, 2024

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.

robert-zaremba avatar robert-zaremba commented on August 23, 2024

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.

LefterisJP avatar LefterisJP commented on August 23, 2024

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.

coventry avatar coventry commented on August 23, 2024

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.

robert-zaremba avatar robert-zaremba commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.