-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
show-paren-match face not themed in Emacs 26 #75
Comments
After digging around a bit, I found that I think this means that dropping the |
Hi @janusvm 👋, thanks for your contribution 👍 GitHub Mirror PR: emacs-mirror/emacs@c430f7e |
The `show-paren-match-face` and `show-paren-mismatch-face` face are deprecated since Emacs version 22.1 [1,2] and were removed in Emacs 25. To provide compatibilty to later EMacs version, the new `show-paren-match` and `show-paren-mismatch` faces have been added. The deprecated faces will be removed later on, but for now its totally fine for both faces to co-exist to support Emacs versions <22.1 as well as >=22.1. [1]: http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c430f7e23fc2c22f251ace4254e37dea1452dfc3 [2]: emacs-mirror/emacs@c430f7e GH-75
The `show-paren-match-face` and `show-paren-mismatch-face` face are deprecated since Emacs version 22.1 [1,2] and were removed in Emacs 25. To provide compatibilty to later EMacs version, the new `show-paren-match` and `show-paren-mismatch` faces have been added. The deprecated faces will be removed later on, but for now its totally fine for both faces to co-exist to support Emacs versions <22.1 as well as >=22.1. [1]: http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c430f7e23fc2c22f251ace4254e37dea1452dfc3 [2]: emacs-mirror/emacs@c430f7e Closes GH-75
The `show-paren-match-face` and `show-paren-mismatch-face` face are deprecated since Emacs version 22.1 [1,2] and were removed in Emacs 25. To provide compatibilty to later EMacs version, the new `show-paren-match` and `show-paren-mismatch` faces have been added. The deprecated faces will be removed later on, but for now its totally fine for both faces to co-exist to support Emacs versions <22.1 as well as >=22.1. [1]: http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c430f7e23fc2c22f251ace4254e37dea1452dfc3 [2]: emacs-mirror/emacs@c430f7e Closes GH-75
Came across this while adapting my config for Emacs 26.2 coming from 25.3
It seems as if something changed between Emacs versions 25 and 26 wrt. how the names of faces are parsed, which causes the following lines to work fine in Emacs 25, but not 26:
https://github.com/arcticicestudio/nord-emacs/blob/9ed7b9c2d1bb68ae86d06f97d215d2883e4ff0d2/nord-theme.el#L273-L274
seemingly due to the names of the faces not actually having the
-face
suffix.The same is the case for running
M-x customize-face RET show-paren-match-face RET
- works in 25, not 26, even though the face is really called justshow-paren-match
in both.In my local
nord-theme.el
on my Emacs 26 installation, I tried changingshow-paren-match-face
to justshow-paren-match
(same for-mismatch
), and then it worked. I'm not sure if these are the only faces affected by this.The text was updated successfully, but these errors were encountered: