[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/alect-themes a858dea 061/269: Add description of emacs bug
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/alect-themes a858dea 061/269: Add description of emacs bug in theming variables |
Date: |
Thu, 21 Oct 2021 17:58:49 -0400 (EDT) |
branch: elpa/alect-themes
commit a858deaf76c037f99fba176dc3b4b96994519ff0
Author: Alex Kost <alezost@gmail.com>
Commit: Alex Kost <alezost@gmail.com>
Add description of emacs bug in theming variables
---
README.md | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/README.md b/README.md
index 4719e77..f887855 100644
--- a/README.md
+++ b/README.md
@@ -188,6 +188,30 @@ then the override spec."
If you put it into your `.emacs`, you will always get pure themes
without unintended face settings.
+### Emacs bug
+
+Emacs has a bug
+([#16266](http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16266)) that
+doesn't allow to set undefined variables. For example, if a theme
+customizes a color for emms icon and you load the theme before emms,
+then emms icon will use a default color instead of the themed one. This
+bug takes effect only on `defvar`-ed variables, `defcustom`-ed variables
+are safe.
+
+The range of such variables (effected by the bug) suitable for
+colorizing is very limited. For alect themes, the following variables
+are themed: `emms-mode-line-icon-image-cache`,
+`gnus-mode-line-image-cache` and `gnus-logo-colors`.
+
+You can use this workaround to avoid the bug:
+```lisp
+(defadvice custom-theme-set-variables
+ (around fix-inhibit-bug activate)
+ "Allow setting of undefined variables in themes."
+ (let (custom--inhibit-theme-enable)
+ ad-do-it))
+```
+
## Screenshots
You can see the following and other screenshots in
- [nongnu] elpa/alect-themes 5e6748d 042/269: Improve match face, (continued)
- [nongnu] elpa/alect-themes 5e6748d 042/269: Improve match face, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 2c0ba50 053/269: Update version (0.3) and package commentary, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 32c3244 056/269: Update version (0.3.1), ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 7b4397a 064/269: Modify `font-lock-warning-face', ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes fa8f779 071/269: Modify `alect-color-level-9' face, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 3677326 049/269: Add support for 2 variants of face specification, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 0a8e941 050/269: Remove redundant parentheses in faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes b0d7687 052/269: Improve the docstring of `alect-overriding-faces', ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 6187e8b 058/269: Modify colors for gnus and emms mode-line icons, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 38a5b63 068/269: Add faces for dictem-mode, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes a858dea 061/269: Add description of emacs bug in theming variables,
ELPA Syncer <=
- [nongnu] elpa/alect-themes ac6c00e 073/269: Add a mention of `utl-load-theme', ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes fa7b2e7 084/269: Modify `font-lock-negation-char-face', ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 3e51c3e 046/269: Add support for configuring faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 38622f2 066/269: Update version (0.3.3), ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 8468caa 069/269: Update version (0.3.4), ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes b1f4696 072/269: Add faces for Info-mode, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes df91f7a 078/269: Add description of height variables, ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 3e90d79 076/269: Fix inheritance of `markdown-header-face', ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes 27f9cb1 082/269: Change type of `alect-inverted-color-regexp', ELPA Syncer, 2021/10/21
- [nongnu] elpa/alect-themes d8dd82f 090/269: Update version (0.3.8), ELPA Syncer, 2021/10/21