Closed artelse closed 4 months ago
I do not have 30 installed but from the error message it seems there are other none
that are set somewhere. Did you search the whole nano-modeline.el
file and possibly your custom settings?
yes, searched packages, but no other :box
and :style
attributes found that could cause problems. Digged in more, but haven't found what causes it to fail on init. Perhaps just wait for an update to 30, also had problems with xwidget that don't work any longer (xwidget's fault, not emacs).
I have the same issue.
It seems like :style none
causes the error. Commenting out these two:
From the docs:
The value style specifies whether to draw a 3D box. If it is released-button, the box looks like a 3D button that is not being pressed. If it is pressed-button, the box looks like a 3D button that is being pressed. If it is nil, flat-button or omitted, a plain 2D box is used.
I am guessing that recent versions of Emacs enforces these values. My guess is that simply removing the :style
would have the same effect as none
.
I am guessing that recent versions of Emacs enforces these values. My guess is that simply removing the
:style
would have the same effect asnone
.
If removing the attribute works, it would be the best fix with backwards compatibility in mind. Edit: works fine!
There are further problems with Emacs 30 having to do with faces. I reported bug#67991 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67991
Though it may require a change in nano-modeline, because nano-modeline may have been relying on buggy behavior to begin with.
@aaronjensen Thanks for the bug report. From what I understood, this means we have to add defvar
for each and every local variables in the modeline eval? Can you open a specific issue for that?
It's possible. I wasn't aware of others, so I don't know what I'd put in the issue. I currently don't have any problems taht I know of.
@rougier I see these issues have since been addressed, exist on the master
branch, and have been noted in NEWS
.
would you mind pushing a new version to ELPA so we can benefit? :)
Done!
The latest emacs 30.0.5 master branch commits made changes to the validation logic for the
:box
attribute:And:
Likely an update is needed how nano-modeline sets some face attributes, so I changed
:style none
on line 164 and 171 to read:style nil
. (none
is an invalid attribute) When I eval/load the package it works as expected, but when loaded in my init, it craps out with no error message. (..)This was the error I got previously: