-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Invalid face box
error
#131
Fix Invalid face box
error
#131
Conversation
The `style` attribute `sunken-button` for the `:box` attribute set on a `button` or `custom-button*` is not a valid value[1]. This was not made manifest by a bug[2] on the emacs side but is expected to be fixed and become an error in the version 30 release. In the context of the code, `sunken-button` itself is considered equivalent to `pressed-button`, so all places where `sunken-button` is specified have been replaced with `pressed-button`. [1]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html [2]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67404
Invalid face box
error (#130)Invalid face box
error
I tested this change with Quelpa, just pointing to your branch instead of nordtheme/emacs, and everything seems to be working fine. Now that Emacs 30 is officially released (now even 30.1), Nord Theme is broken on Emacs without this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirming it works
@cariandrum22 @amasover @kousiknandy Thank you for your contributions and patience! 🙏🏼 I recently published the first "Northern Post — The state and roadmap of Nord" announcement which includes all details about the plans and future of the Nord project, including the goal of catching up with the backlog. This issue is part of the backlog and therefore I want to triage and process it to get one step closer to a "clean state". Read the announcement about reaching the "clean" contribution triage state in Nord's discussions for more details about the goal. Due to the release of Emacs version 30.1 some weeks ago this problem might affect more users that follow the stable release channel so this issue must be resolved as quickly as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with Emacs version 30.1
on macOS, installed via Homebrew.
The theme can be loaded without errors again.
Thanks again for your contribution 🙌🏼
🏂
❄️
❄️
❄️
❄️
❄️
The
style
attributesunken-button
for the:box
attribute set on abutton
orcustom-button*
is not a valid value1.This was not made manifest by a bug2 on the emacs side but is expected to be fixed and become an error in the version 30 release.
In the context of the code,
sunken-button
itself is considered equivalent topressed-button
, so all places wheresunken-button
is specified have been replaced withpressed-button
.