GithubHelp home page GithubHelp logo

Comments (5)

purcell avatar purcell commented on June 11, 2024

Thanks for digging into this and providing the helpful specific information! Currently I think I'm the only "maintainer" (semi-)actively responding to issues but I am generally quite inactive atm and I will likely struggle to find time to tackle this.

from haskell-mode.

michzappa avatar michzappa commented on June 11, 2024

I just played around with a minimal version of my config and quickly found the offending customization: (add-hook 'prog-mode-hook #'(lambda () (modify-syntax-entry ?- "w"))). It probably breaks the assumptions made by this haskell-mode looking-at function for the syntax table and causes the looping.

Doesn't look like a problem with haskell-mode, and also doesn't seem to merit any documentation changes since I doubt this is a common configuration. I'll probably just add a workaround in my own config to remove this syntax change in haskell-mode.

Thanks!

from haskell-mode.

purcell avatar purcell commented on June 11, 2024

Ah cool, thanks for following up with this info. It rings a bell w.r.t. past reported issues, I believe...

from haskell-mode.

flocks avatar flocks commented on June 11, 2024

Hello @michzappa I'm running into what looks like the same issue, and I'm not sure if you finally found a way to work around it?

from haskell-mode.

flocks avatar flocks commented on June 11, 2024

Ok, got it I guess you had

 (add-hook 'after-change-major-mode-hook (lambda () (modify-syntax-entry ?- "w")))

somewhere in your config (like I have). I confirm removing this line fix the behavior

from haskell-mode.

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.