Bug 2155094

Summary: mozc.el: Emacs compiler warnings about obsolete function
Product: [Fedora] Fedora Reporter: Edgar Hoch <edgar.hoch>
Component: mozcAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 37CC: i18n-bugs, robinlee.sysu, tagoh, tfujiwar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: mozc-2.28.4950.102-1.fc38 mozc-2.28.4950.102-2.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-21 03:30:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Edgar Hoch 2022-12-19 23:46:05 UTC
Description of problem:

When I start Emacs on Fedora 37 for the first time, I got the following  compiler warning:

Warning (comp): mozc.el:429:21: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): mozc.el:825:61: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): mozc.el:1256:18: Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ instead. Disable showing Disable logging
Warning (comp): mozc.el:1642:18: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. 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 Fedora Update System 2023-01-05 10:41:13 UTC
FEDORA-2023-15e99c8745 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-15e99c8745

Comment 2 Fedora Update System 2023-01-05 10:44:19 UTC
FEDORA-2023-15e99c8745 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2023-01-05 11:53:11 UTC
FEDORA-2023-080d9677df has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-080d9677df

Comment 4 Fedora Update System 2023-01-06 01:09:45 UTC
FEDORA-2023-080d9677df has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-080d9677df`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-080d9677df

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Edgar Hoch 2023-01-06 15:09:36 UTC
Thanks for the update. I fixes the warnings listed above.

But now I get other warnings (with emacs 28.2). I will create a new bug report.

Warning (comp): mozc.el:664:22: Warning: the function ‘first’ is not known to be defined. Disable showing Disable logging
Warning (comp): mozc.el:664:9: Warning: the function ‘third’ is not known to be defined. Disable showing Disable logging

Comment 6 Fedora Update System 2023-01-12 03:05:30 UTC
FEDORA-2023-080d9677df has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-080d9677df`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-080d9677df

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-01-21 03:30:08 UTC
FEDORA-2023-080d9677df has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.