Closed gdindi closed 5 months ago
Lol, that was fun to debug. Please uninstall the j-mode
package.
https://github.com/zellio/j-mode/blob/e8725ac8af95498faabb2ca3ab3bd809a8f148e6/j-help.el#L45-L47
It's re-defining if-let
incorrectly. Luckily, https://grep.app is a thing.
Alternatively, there appears to be an active fork at https://github.com/LdBeth/j-mode/. Melpa issue at https://github.com/melpa/melpa/issues/9055.
Never mind. The fix has been merged upstream and will be included in the next melpa rebuild. When it updates, you'll have to run package-recompile-all
to rebuild all packages.
On Sun 09-Jun-2024 at 17:24:33 +02, Steven Allen @.***> wrote:
Never mind. The fix has been merged upstream and will be included in the next melpa rebuild. When it updates, you'll have to run package-recompile-all to rebuild all packages.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Nice. Thank you very much.
Is it recommended to run package-recompile-all
regularly if I am
following master?
Is it recommended to run
package-recompile-all
regularly if I am following master?
The issue here isn't related to EXWM. j-mode
re-defined the if-let
macro which means anything compiled after loading j-mode
will use that macro instead of the built-in version. That means other packages you have may also be subtly broken.
NOTE: you can (sort of) also avoid this issue by installing the async
package and enabling async-bytecomp-mode
. That'll do all byte-compiliation in separate "sandboxed" Emacs processes so packages are less-likely to have conflicts like this. On the other hand:
Hi, First of all, thank you for your work. EXWM is my daily driver and has been for a couple of years!
I use the master branch that I update once a week (as I do with emacs itself). This is how I do it with
use-package
Yesterday, I updated the branch and I noticed a problem in the initialization process:
I tried to solve the issue by just removing the byte-compiled and native-compiled files (elc and eln), but it didn’t help. I also tried going back in the git repo a couple of weeks, but it didn’t work either. If I use the package available on GNU ELPA (0.30) everything works as expected.
Maybe I am not using the git version in a correct way, because updating the repo does not byte-compile the sources. Of course, I don’t need to follow master (I started doing that when the ELPA package was lacking behind), but I am submitting this issue in case it helps to debug before a new release. So don’t bother if you think that this is related to me using the git repo with use-package.
On the other hand, if you think I can do something to better diagnose the problem, do not hesitate to tell me.
Thanks again!