Doom-emacs: (wrong-type-argument stringp mouse-wheel-down-event) on Emacs 27.1, on openSUSE

Created on 20 Aug 2020  Â·  7Comments  Â·  Source: hlissner/doom-emacs

i did a fresh OpenSuse TW install and magit and org are not working. The error message for everything is:

Failed to load magit package incrementally, because: (wrong-type-argument stringp mouse-wheel-down-event)"

Sidenote: starting with emacs-x11 command does not produce the errors so it might be something to do with the Emacs launcher script on Open Suse and dbus but i'm not certain as it goes wayyy over my head. There is a solution which is to alias emacs to emacs-x11 systemwide but i feel like the dbus gymnastics are there for a reason.

external openSUSE resolved-elsewhere

Most helpful comment

I've been using this one without any problems for the last months (RCs at first), you can switch to it with

zypper addrepo obs:// home:AndreasSchwab:emacs:27 emacs27
zypper refresh emacs27
zypper dup --allow-vendor-change --from emacs27

Disclaimer: That is a personal repository and I don't know if its maintainer accepts bug reports. Please only use it temporarily until the package in the distribution is fixed.

There is a mailing list thread about this issue with a mail that mentions the /usr/bin/emacs script. There is also a link to a bug report in that mail, but that bug does not contain much information. The bug is marked as fixed, but the update is still in QA before it reaches Tumbleweed. I don't know if that bug is the very same as what you describe, once the update is out you can try again.

Sadly I also don't really grasp the helper script and can't help with that.

All 7 comments

This is a known issue with a build of Emacs 27.1 on openSUSE Tumbleweed. I'm not certain of the cause, but it cannot be reproduced anywhere else. I don't know enough about openSUSE and its ecosystem to suggest where to get a working build of 27.1 from. @agraul can you advise?

I've been using this one without any problems for the last months (RCs at first), you can switch to it with

zypper addrepo obs:// home:AndreasSchwab:emacs:27 emacs27
zypper refresh emacs27
zypper dup --allow-vendor-change --from emacs27

Disclaimer: That is a personal repository and I don't know if its maintainer accepts bug reports. Please only use it temporarily until the package in the distribution is fixed.

There is a mailing list thread about this issue with a mail that mentions the /usr/bin/emacs script. There is also a link to a bug report in that mail, but that bug does not contain much information. The bug is marked as fixed, but the update is still in QA before it reaches Tumbleweed. I don't know if that bug is the very same as what you describe, once the update is out you can try again.

Sadly I also don't really grasp the helper script and can't help with that.

Please let me know if this issue is resolved upstream. I'll leave this issue open until then.

They rolled out an update in the main Tumbleweed repositories but it only fixes some of the graphical issues like fonts but it still doesn't fix the plugins not loading properly. So still using the workaround.

As another stopgap measure, running

(assq-delete-all 'mouse-wheel-down-event load-history)

Seems to do the trick.

I believe this has been fixed with the latest update :smiley:

Can confirm that the latest update to emacs in Tumbleweed fixed it. That's version 27.1-3.1.

Was this page helpful?
0 / 5 - 0 ratings