Description of problem: When I start Emacs on Fedora 37 for the first time, I got the following compiler warnings: Warning (comp): color-theme.el:260:1: Warning: defvar `color-theme-initialized' docstring wider than 80 characters Disable showing Disable logging Warning (comp): color-theme.el:321:1: Warning: defvar `color-themes' docstring wider than 80 characters Disable showing Disable logging Warning (comp): color-theme.el:874:23: Warning: ‘user-variable-p’ is an obsolete function (as of 24.3); use ‘custom-variable-p’ instead. Disable showing Disable logging Warning (comp): color-theme.el:1501:18: Warning: ‘set-difference’ is an obsolete function (as of 27.1); use ‘cl-set-difference’ instead. Disable showing Disable logging Warning (comp): color-theme.el:1509:17: Warning: ‘set-difference’ is an obsolete function (as of 27.1); use ‘cl-set-difference’ instead. Disable showing Disable logging Warning (comp): color-theme.el:1511:36: Warning: ‘set-difference’ is an obsolete function (as of 27.1); use ‘cl-set-difference’ instead. Disable showing Disable logging Warning (comp): color-theme.el:1594:6: Warning: the function ‘mail-text’ might not be defined at runtime. Disable showing Disable logging Warning (comp): color-theme.el:1589:6: Warning: the function ‘mail-position-on-field’ might not be defined at runtime. Disable showing Disable logging Warning (comp): color-theme.el:1577:17: Warning: the function ‘reporter-compose-outgoing’ might not be defined at runtime. Disable showing Disable logging Warning (comp): color-theme.el:1340:10: Warning: the function ‘make-variable-frame-local’ is not known to be defined. Disable showing Disable logging Warning (comp): color-theme.el:1262:10: Warning: the function ‘set-face-property’ is not known to be defined. Disable showing Disable logging Version-Release number of selected component (if applicable): emacs-28.1-3.fc37.x86_64 emacs-color-theme-el-6.6.0-23.fc37.noarch How reproducible: First start of Emacs on Fedora 37. Steps to Reproduce: 1. Check in ~/.emacs.d/eln-cache/ exists. Delete (or rename) it to simulate a fresh, first start of Emacs on this Fedora version. 2. Start Emacs 3. Read the buffer *Warnings*
I get additional warnings with the emacs-28.2-1.fc37.x86_64 : Warning (comp): color-theme.el:621:48: Warning: assignment to free variable ‘name’ Disable showing Disable logging Warning (comp): color-theme.el:621:41: Warning: reference to free variable ‘name’ Disable showing Disable logging Warning (comp): color-theme.el:1382:21: Warning: the function ‘color-theme-spec-compat’ is not known to be defined. Disable showing Disable logging Warning (comp): color-theme.el:771:26: Warning: the function ‘color-theme-face-attr-construct’ is not known to be defined. Disable showing Disable logging