Bug 2155095 - color-theme.el: Emacs compiler warnings
Summary: color-theme.el: Emacs compiler warnings
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs-color-theme
Version: 37
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Arun S A G
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-19 23:49 UTC by Edgar Hoch
Modified: 2023-01-06 17:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Edgar Hoch 2022-12-19 23:49:39 UTC
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*

Comment 1 Edgar Hoch 2023-01-06 17:17:22 UTC
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


Note You need to log in before you can comment on or make changes to this bug.