Hello,
Fredrik Salomonsson <[email protected]> writes:
> When I launch emacs (emacs-next) with the emacs-lua-mode package, I'm
> getting this error
> "Error (use-package): lua-mode/:catch: Unknown rx form ‘symbol’"
>
> It works when I let emacs download it from melpa. I tried updating
> emacs-lua-mode to 20200508, which is the same version as on melpa.
>
> Still the same issue.
>
> Could this be an issue that it's using emacs-minimal-26.3 to byte compile
> the files? Where I'm using emacs-next aka emasc-27.0. Judging by this issue
> [1] the rx package has gone through some changes in 27.0.
This seems to be reported upstream as
https://github.com/immerrr/lua-mode/issues/155
You may be right. Files byte-compiled with Emacs 26 may not be
compatible with Emacs 27.
I don't know what can be done on Guix's side, tho.
> I've attached the backtrace and the patch for the latest
> emacs-lua-mode.
Could you send another bug report for the package update?
Regards,
--
Nicolas Goaziou