hy-mode icon indicating copy to clipboard operation
hy-mode copied to clipboard

Eager macro-expansion failure: wrong-type-argument

Open j0ni opened this issue 4 years ago • 2 comments

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

j0ni avatar Dec 27 '19 22:12 j0ni

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.

j0ni avatar Dec 28 '19 20:12 j0ni

This came back fwiw - but fixing it turned out to be adding :defer t to my use-package recipe.

j0ni avatar Jan 09 '20 22:01 j0ni