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*
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
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
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