Bug 2155093 - ruby-mode.el:69:1: Compiler warning
Summary: ruby-mode.el:69:1: Compiler warning
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs-rinari
Version: 37
Hardware: x86_64
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:31 UTC by Edgar Hoch
Modified: 2023-12-06 11:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-06 11:45:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Edgar Hoch 2022-12-19 23:31:21 UTC
Description of problem:

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

Warning (comp): ruby-mode.el:69:1: Warning: defconst `ruby-block-mid-re' docstring wider than 80 characters Disable showing Disable logging



Version-Release number of selected component (if applicable):
emacs-28.1-3.fc37.x86_64
emacs-rinari-2.1-25.20100815git.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 2022-12-19 23:36:37 UTC
I also got the following warnings which belongs to the same package.

Warning (comp): ruby-compilation.el:94:15: Warning: (lambda (line) \.\.\.) quoted with ' rather than with #' Disable showing Disable logging
Warning (comp): ruby-compilation.el:106:15: Warning: (lambda (line) \.\.\.) quoted with ' rather than with #' Disable showing Disable logging
Warning (comp): ruby-compilation.el:160:77: Warning: Use ‘with-current-buffer’ rather than save-excursion+set-buffer Disable showing Disable logging
Warning (comp): ruby-compilation.el:172:20: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
Warning (comp): ruby-compilation.el:222:33: Warning: Use ‘with-current-buffer’ rather than save-excursion+set-buffer Disable showing Disable logging
Warning (comp): ruby-compilation.el:282:20: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging

Warning (comp): findr.el:124:1: Warning: custom-declare-variable `findr-skip-directory-regexp' docstring wider than 80 characters Disable showing Disable logging
Warning (comp): findr.el:129:1: Warning: custom-declare-variable `findr-skip-file-regexp' docstring wider than 80 characters Disable showing Disable logging
Warning (comp): findr.el:160:1: Warning: ‘defun*’ is an obsolete alias (as of 27.1); use ‘cl-defun’ instead. Disable showing Disable logging
Warning (comp): findr.el:160:41: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead. Disable showing Disable logging
Warning (comp): findr.el:176:45: Warning: ‘labels’ is an obsolete macro (as of 24.3); use ‘cl-labels’ instead. Disable showing Disable logging
Warning (comp): findr.el:170:34: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead. Disable showing Disable logging
Warning (comp): findr.el:195:25: Warning: ‘return-from’ is an obsolete alias (as of 27.1); use ‘cl-return-from’ instead. Disable showing Disable logging
Warning (comp): findr.el:215:4: Warning: tags-query-replace called with 4 arguments, but accepts only 2-3 Disable showing Disable logging

Warning (comp): inflections.el:37:36: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead. Disable showing Disable logging
Warning (comp): inflections.el:44:39: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): inflections.el:58:15: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead. Disable showing Disable logging
Warning (comp): inflections.el:135:16: Warning: ‘member*’ is an obsolete function (as of 27.1); use ‘cl-member’ instead. Disable showing Disable logging
Warning (comp): inflections.el:135:79: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead. Disable showing Disable logging
Warning (comp): inflections.el:139:9: Warning: ‘symbol-macrolet’ is an obsolete alias (as of 27.1); use ‘cl-symbol-macrolet’ instead. Disable showing Disable logging
Warning (comp): inflections.el:139:9: Warning: ‘flet’ is an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’. Disable showing Disable logging
Warning (comp): inflections.el:137:50: Warning: ‘symbol-macrolet’ is an obsolete alias (as of 27.1); use ‘cl-symbol-macrolet’ instead. Disable showing Disable logging
Warning (comp): inflections.el:138:40: Warning: ‘return’ is an obsolete alias (as of 27.1); use ‘cl-return’ instead. Disable showing Disable logging
Warning (comp): inflections.el:145:17: Warning: ‘member*’ is an obsolete function (as of 27.1); use ‘cl-member’ instead. Disable showing Disable logging
Warning (comp): inflections.el:145:79: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead. Disable showing Disable logging
Warning (comp): inflections.el:149:9: Warning: ‘symbol-macrolet’ is an obsolete alias (as of 27.1); use ‘cl-symbol-macrolet’ instead. Disable showing Disable logging
Warning (comp): inflections.el:149:9: Warning: ‘flet’ is an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’. Disable showing Disable logging
Warning (comp): inflections.el:148:39: Warning: ‘return’ is an obsolete alias (as of 27.1); use ‘cl-return’ instead. Disable showing Disable logging

Warning (comp): jump.el:97:24: Warning: reference to free variable ‘method-command’ Disable showing Disable logging
Warning (comp): jump.el:107:35: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): jump.el:118:4: Warning: ‘delete-if’ is an obsolete function (as of 27.1); use ‘cl-delete-if’ instead. Disable showing Disable logging
Warning (comp): jump.el:146:70: Warning: reference to free variable ‘root’ Disable showing Disable logging
Warning (comp): jump.el:206:9: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead. Disable showing Disable logging
Warning (comp): jump.el:229:36: Warning: reference to free variable ‘root’ Disable showing Disable logging
Warning (comp): jump.el:251:13: Warning: ‘format’ called with 0 args to fill 1 format field(s) Disable showing Disable logging

Warning (comp): rinari.el:93:1: Warning: defcustom for ‘rinari-tags-file-name’ fails to specify type Disable showing Disable logging
Warning (comp): rinari.el:93:1: Warning: defcustom for ‘rinari-tags-file-name’ fails to specify type Disable showing Disable logging
Warning (comp): rinari.el:101:1: Warning: defcustom for ‘rinari-rails-env’ fails to specify type Disable showing Disable logging
Warning (comp): rinari.el:101:1: Warning: defcustom for ‘rinari-rails-env’ fails to specify type Disable showing Disable logging
Warning (comp): rinari.el:106:1: Warning: defvar `rinari-minor-mode-prefixes' docstring wider than 80 characters Disable showing Disable logging
Warning (comp): rinari.el:237:6: Warning: Use ‘with-current-buffer’ rather than save-excursion+set-buffer Disable showing Disable logging
Warning (comp): rinari.el:247:4: Warning: ‘flet’ is an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’. Disable showing Disable logging
Warning (comp): rinari.el:413:28: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): rinari.el:439:15: Warning: ‘equalp’ is an obsolete function (as of 27.1); use ‘cl-equalp’ instead. Disable showing Disable logging
Warning (comp): rinari.el:449:23: Warning: ‘equalp’ is an obsolete function (as of 27.1); use ‘cl-equalp’ instead. Disable showing Disable logging
Warning (comp): rinari.el:449:35: Warning: ‘equalp’ is an obsolete function (as of 27.1); use ‘cl-equalp’ instead. Disable showing Disable logging
Warning (comp): rinari.el:451:34: Warning: ‘equalp’ is an obsolete function (as of 27.1); use ‘cl-equalp’ instead. Disable showing Disable logging
Warning (comp): rinari.el:686:18: Warning: ‘mapcar’ called for effect; use ‘mapc’ or ‘dolist’ instead Disable showing Disable logging
Warning (comp): rinari.el:721:20: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging

Comment 2 Edgar Hoch 2022-12-19 23:52:49 UTC
Sorry, I didn't know the first time that the following warnings also belong to this package.


Warning (comp): ruby-mode.el:204:1: Warning: defcustom for ‘ruby-deep-arglist’ fails to specify type Disable showing Disable logging
Warning (comp): ruby-mode.el:204:1: Warning: defcustom for ‘ruby-deep-arglist’ fails to specify type Disable showing Disable logging
Warning (comp): ruby-mode.el:209:1: Warning: defcustom for ‘ruby-deep-indent-paren’ fails to specify type Disable showing Disable logging
Warning (comp): ruby-mode.el:209:1: Warning: defcustom for ‘ruby-deep-indent-paren’ fails to specify type Disable showing Disable logging
Warning (comp): ruby-mode.el:214:1: Warning: defcustom for ‘ruby-deep-indent-paren-style’ fails to specify type Disable showing Disable logging
Warning (comp): ruby-mode.el:214:1: Warning: defcustom for ‘ruby-deep-indent-paren-style’ fails to specify type Disable showing Disable logging
Warning (comp): ruby-mode.el:218:1: Warning: defcustom for ‘ruby-encoding-map’ fails to specify type Disable showing Disable logging
Warning (comp): ruby-mode.el:218:1: Warning: defcustom for ‘ruby-encoding-map’ fails to specify type Disable showing Disable logging
Warning (comp): ruby-mode.el:296:58: Warning: ‘make-variable-buffer-local’ not called at toplevel Disable showing Disable logging
Warning (comp): ruby-mode.el:292:37: Warning: ‘make-variable-buffer-local’ not called at toplevel Disable showing Disable logging
Warning (comp): ruby-mode.el:293:37: Warning: ‘make-variable-buffer-local’ not called at toplevel Disable showing Disable logging
Warning (comp): ruby-mode.el:294:53: Warning: ‘make-variable-buffer-local’ not called at toplevel Disable showing Disable logging
Warning (comp): ruby-mode.el:371:60: Warning: ‘font-lock-syntactic-keywords’ is an obsolete variable (as of 24.1); use ‘syntax-propertize-function’ instead. Disable showing Disable logging
Warning (comp): ruby-mode.el:681:32: Warning: reference to free variable ‘indent-point’ Disable showing Disable logging
Warning (comp): ruby-mode.el:1026:32: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging
Warning (comp): ruby-mode.el:1035:35: Warning: ‘oddp’ is an obsolete function (as of 27.1); use ‘cl-oddp’ instead. Disable showing Disable logging
Warning (comp): ruby-mode.el:1044:40: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging

Warning (comp): inf-ruby.el:338:71: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. Disable showing Disable logging

Comment 3 Edgar Hoch 2023-01-06 17:42:54 UTC
I get additional warnings with the emacs-28.2-1.fc37.x86_64 :

Warning (comp): ruby-mode.el:29:30: Warning: Package cl is deprecated Disable showing Disable logging
Warning (comp): ruby-mode.el:69:1: Warning: defconst `ruby-block-mid-re' docstring wider than 80 characters Disable showing Disable logging
Warning (comp): ruby-mode.el:369:50: Warning: reference to free variable ‘ruby-font-lock-keywords’ Disable showing Disable logging
Warning (comp): ruby-mode.el:370:54: Warning: reference to free variable ‘ruby-font-lock-syntax-table’ Disable showing Disable logging
Warning (comp): ruby-mode.el:371:60: Warning: reference to free variable ‘ruby-font-lock-syntactic-keywords’ Disable showing Disable logging

Warning (comp): rinari.el:79:1: Warning: Package cl is deprecated Disable showing Disable logging
Warning (comp): rinari.el:460:2: Warning: assignment to free variable ‘rinari-jump-schema’ Disable showing Disable logging
Warning (comp): rinari.el:660:27: Warning: reference to free variable ‘rinari-jump-schema’ Disable showing Disable logging
Warning (comp): rinari.el:703:44: Warning: reference to free variable ‘rinari-minor-mode’ Disable showing Disable logging
Warning (comp): rinari.el:197:8: Warning: the function ‘rinari-find-test’ is not known to be defined. Disable showing Disable logging

Warning (comp): jump.el:107:35: Warning: ‘0’ is a malformed function Disable showing Disable logging
Warning (comp): jump.el:107:35: Warning: ‘1’ is a malformed function Disable showing Disable logging
Warning (comp): jump.el:112:28: Warning: ‘t’ called as a function Disable showing Disable logging
Warning (comp): jump.el:207:11: Warning: reference to free variable ‘for’ Disable showing Disable logging
Warning (comp): jump.el:207:15: Warning: reference to free variable ‘path’ Disable showing Disable logging
Warning (comp): jump.el:207:20: Warning: reference to free variable ‘in’ Disable showing Disable logging
Warning (comp): jump.el:210:11: Warning: reference to free variable ‘until’ Disable showing Disable logging
Warning (comp): jump.el:207:6: Warning: the function ‘loop’ is not known to be defined. Disable showing Disable logging
Warning (comp): jump.el:113:20: Warning: the function ‘t’ is not known to be defined. Disable showing Disable logging
Warning (comp): jump.el:110:18: Warning: the function ‘case’ is not known to be defined. Disable showing Disable logging

Warning (comp): inflections.el:31:13: Warning: Package cl is deprecated Disable showing Disable logging
Warning (comp): inflections.el:135:16: Warning: the function ‘member*’ might not be defined at runtime. Disable showing Disable logging

Warning (comp): ruby-compilation.el:162:49: Warning: reference to free variable ‘ruby-capistrano-minor-mode-map’ Disable showing Disable logging

Warning (comp): inf-ruby.el:333:4: Warning: ‘0’ is a malformed function Disable showing Disable logging
Warning (comp): inf-ruby.el:333:4: Warning: ‘1’ is a malformed function Disable showing Disable logging
Warning (comp): inf-ruby.el:338:83: Warning: ‘t’ called as a function Disable showing Disable logging
Warning (comp): inf-ruby.el:338:27: Warning: the function ‘t’ is not known to be defined. Disable showing Disable logging
Warning (comp): inf-ruby.el:335:25: Warning: the function ‘case’ is not known to be defined. Disable showing Disable logging

Warning (comp): findr.el:106:13: Warning: Package cl is deprecated Disable showing Disable logging
Warning (comp): findr.el:255:11: Warning: defsubst ‘findr-queue-contents’ was used before it was defined Disable showing Disable logging

Comment 4 Aoife Moloney 2023-11-23 00:48:22 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Aoife Moloney 2023-12-06 11:45:56 UTC
Fedora Linux 37 entered end-of-life (EOL) status on None.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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