Comments (10)
A bit scrappy, but done: 17.3 is tagged and should build on MELPA Stable shortly.
which is not allowed in some organizations.
@solna86 very curious to hear about organizations that have policies about which elisp package archives are allowed....
from haskell-mode.
A new version should be released please. The last tag, 17.2, is almost 3 years old and fails to load on Emacs 29.1.
Therefore, we have to use MELPA instead of MELPA Stable, which is not allowed in some organizations.
from haskell-mode.
Thanks @purcell! I have just tested haskell-mode 17.3 on Emacs 29.1. It loads fine, but there's a repeated error whenever I move the cursor into something:
eldoc error: (error Eager macro-expansion failure: (error "Misplaced t or ‘otherwise’ clause"))
This eldoc issue is showing up on other packages when using Emacs 29.1.
very curious to hear about organizations that have policies about which elisp package archives are allowed....
My corporate IT sadly enforces this policy. We are asked not to use any software repositories labelled as unstable.
from haskell-mode.
eldoc error: (error Eager macro-expansion failure: (error "Misplaced t or ‘otherwise’ clause"))
Hmm, I'll take a look at that if I get a few minutes.
My corporate IT sadly enforces this policy. We are asked not to use any software repositories labelled as unstable.
MELPA actually isn't labelled unstable. I think of it "snapshot" MELPA, personally. It's a pity about policies like this: usually "unstable" relates to the fact that packaging might be broken at times, but usually banning "unstable" repositories leads to the use of more insecure old packages.
from haskell-mode.
eldoc error: (error Eager macro-expansion failure: (error "Misplaced t or ‘otherwise’ clause"))
This eldoc issue is showing up on other packages when using Emacs 29.1.
Are you running ghci or similar? Unsure how to trigger this eldoc error. And can you toggle-debug-on-error
before triggering it, to see if there's an instructive backtrace?
from haskell-mode.
I had a similar error occur with Emacs 29.1 when requiring 'haskell-mode except that it did not involve eldoc. It was caused by haskell-mode-commands.el. Upgrading to 17.4 fixed the error but it still shows up as a warning in *Warnings*.
error: Eager macro-expansion failure: (error "Misplaced t or ‘otherwise’ clause")
This doesn't seem like a big issue (I don't think it is currently breaking anything for me) but I mention this in case it is useful.
from haskell-mode.
It's weird because that error is one produced by cl-case
, but all the uses of cl-case
in the haskell-mode files are compliant.
from haskell-mode.
Some old bytecode may have been loading before or something. I'm no longer getting this error from haskell-mode with 17.4.
from haskell-mode.
Yeah, that's the most likely explanation. Personally I do the following to avoid incompatible bytecode resulting from old package installations: https://github.com/purcell/emacs.d/blob/master/lisp/init-elpa.el#L9-L12
from haskell-mode.
Thanks. I guess maybe the eldoc error others experienced was due to eldoc causing some old bytecode to get autoloaded.
from haskell-mode.
Related Issues (20)
- 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
- Is cabal repl TARGET possible on starting ghci?
- automatically change session target based on buffer
- haskell mode doesn't use completion-at-point for tab HOT 1
- Monthly updates and future progress 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 haskell-mode.