hy-mode
hy-mode copied to clipboard
Eager macro-expansion failure: wrong-type-argument
I'm seeing this on startup in a freshly build emacs 27.0.60 (forthcoming release branch), using the straight.el package manager.
Eager macro-expansion failure: (wrong-type-argument listp hy--syntax->inner-char) [2 times]
Eager macro-expansion failure: (wrong-type-argument listp hy--syntax->last-sexp-start)
Eager macro-expansion failure: (wrong-type-argument listp s-lines)
Eager macro-expansion failure: (wrong-type-argument sequencep hy-shell--redirect-send-internal) [4 times]
When I open a hy
file, I also see errors which are probably related.
Error during redisplay: (internal--syntax-propertize 2) signaled (wrong-type-argument listp hy--syntax->inner-char)
Error during redisplay: (jit-lock-function 1) signaled (wrong-type-argument listp hy--syntax->inner-char)
LMK if there's something I can do to get more info. FWIW:
joni@odo 0 uname -a
Linux odo 5.4.6-arch3-1 #1 SMP PREEMPT Tue, 24 Dec 2019 04:36:53 +0000 x86_64 GNU/Linux
Hmm, interesting - I think this may be unrelated to hy-mode afterall. It goes away if I don't start the emacs server until after emacs is fully initialized. That points to some code loading issue that might be in my config, or in straight, IMO.
I'll leave it for someone here to close this if you agree.
This came back fwiw - but fixing it turned out to be adding :defer t
to my use-package
recipe.