Comments (5)
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.
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.
Ah cool, thanks for following up with this info. It rings a bell w.r.t. past reported issues, I believe...
from haskell-mode.
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.
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)
- True TRAMP Support
- haskell-session-change-target unusable in cabal package with multiple library stanzas HOT 1
- C-c C-c `haskell-process-cabal-build` won't work if haven't ran C-c C-l
- Cabal repl without a cabal file
- tree-sitter HOT 1
- add topics HOT 1
- Feature request: "cabal repl" with file target HOT 1
- Haskell repl freezes when I run getChar HOT 1
- string-trim-left redefinition vs quasi-quote tests in emacs 29.1 HOT 3
- Should `haskell-cabal` mode derive from `prog-mode`? HOT 4
- Color escape sequences from `cabal repl` causing garbled output (Cabal 3.10.1.0) HOT 3
- `deriving someStrategy ...` breaks indentation in the rest of the file
- flymake-allowed-file-name-masks is void HOT 3
- haskell-cabal: bad indentation with redundant leading comma
- error "Marker does not point anywhere"
- Symbol's value as variable is void: flymake-allowed-file-name-masks HOT 6
- An interface for hoogle HOT 5
- Add {-# LANGUAGE Data #-} to the top of the file? (y or n) HOT 2
- Loading a file under test-suite fails when importing library
- Parse error for Haskell sections
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 haskell-mode.