Skip to content

emacs 29.4 で mozc-elisp の警告が出ている #60

@tsutsui

Description

@tsutsui

20240707版の emacs 29.4 で mozc.el に対して以下の警告が出ている

 ■  Warning (comp): mozc.el:122:2: Warning: Package cl is deprecated
 ■  Warning (comp): mozc.el:206:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
 ■  Warning (comp): mozc.el:394:17: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'eisu-toggle will match ‘quote’.  If that’s intended, write (eisu-toggle quote) instead.  Otherwise, don’t quote ‘eisu-toggle’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'hiragana-katakana will match ‘quote’.  If that’s intended, write (hiragana-katakana quote) instead.  Otherwise, don’t quote ‘hiragana-katakana’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'next will match ‘quote’.  If that’s intended, write (next quote) instead.  Otherwise, don’t quote ‘next’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'prior will match ‘quote’.  If that’s intended, write (prior quote) instead.  Otherwise, don’t quote ‘prior’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-decimal will match ‘quote’.  If that’s intended, write (kp-decimal quote) instead.  Otherwise, don’t quote ‘kp-decimal’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-0 will match ‘quote’.  If that’s intended, write (kp-0 quote) instead.  Otherwise, don’t quote ‘kp-0’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-1 will match ‘quote’.  If that’s intended, write (kp-1 quote) instead.  Otherwise, don’t quote ‘kp-1’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-2 will match ‘quote’.  If that’s intended, write (kp-2 quote) instead.  Otherwise, don’t quote ‘kp-2’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-3 will match ‘quote’.  If that’s intended, write (kp-3 quote) instead.  Otherwise, don’t quote ‘kp-3’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-4 will match ‘quote’.  If that’s intended, write (kp-4 quote) instead.  Otherwise, don’t quote ‘kp-4’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-5 will match ‘quote’.  If that’s intended, write (kp-5 quote) instead.  Otherwise, don’t quote ‘kp-5’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-6 will match ‘quote’.  If that’s intended, write (kp-6 quote) instead.  Otherwise, don’t quote ‘kp-6’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-7 will match ‘quote’.  If that’s intended, write (kp-7 quote) instead.  Otherwise, don’t quote ‘kp-7’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-8 will match ‘quote’.  If that’s intended, write (kp-8 quote) instead.  Otherwise, don’t quote ‘kp-8’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-9 will match ‘quote’.  If that’s intended, write (kp-9 quote) instead.  Otherwise, don’t quote ‘kp-9’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-delete will match ‘quote’.  If that’s intended, write (kp-delete quote) instead.  Otherwise, don’t quote ‘kp-delete’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-insert will match ‘quote’.  If that’s intended, write (kp-insert quote) instead.  Otherwise, don’t quote ‘kp-insert’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-end will match ‘quote’.  If that’s intended, write (kp-end quote) instead.  Otherwise, don’t quote ‘kp-end’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-down will match ‘quote’.  If that’s intended, write (kp-down quote) instead.  Otherwise, don’t quote ‘kp-down’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-next will match ‘quote’.  If that’s intended, write (kp-next quote) instead.  Otherwise, don’t quote ‘kp-next’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-left will match ‘quote’.  If that’s intended, write (kp-left quote) instead.  Otherwise, don’t quote ‘kp-left’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-begin will match ‘quote’.  If that’s intended, write (kp-begin quote) instead.  Otherwise, don’t quote ‘kp-begin’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-right will match ‘quote’.  If that’s intended, write (kp-right quote) instead.  Otherwise, don’t quote ‘kp-right’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-home will match ‘quote’.  If that’s intended, write (kp-home quote) instead.  Otherwise, don’t quote ‘kp-home’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-up will match ‘quote’.  If that’s intended, write (kp-up quote) instead.  Otherwise, don’t quote ‘kp-up’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-prior will match ‘quote’.  If that’s intended, write (kp-prior quote) instead.  Otherwise, don’t quote ‘kp-prior’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-add will match ‘quote’.  If that’s intended, write (kp-add quote) instead.  Otherwise, don’t quote ‘kp-add’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-subtract will match ‘quote’.  If that’s intended, write (kp-subtract quote) instead.  Otherwise, don’t quote ‘kp-subtract’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-multiply will match ‘quote’.  If that’s intended, write (kp-multiply quote) instead.  Otherwise, don’t quote ‘kp-multiply’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-divide will match ‘quote’.  If that’s intended, write (kp-divide quote) instead.  Otherwise, don’t quote ‘kp-divide’.
 ■  Warning (comp): mozc.el:394:22: Warning: Case 'kp-enter will match ‘quote’.  If that’s intended, write (kp-enter quote) instead.  Otherwise, don’t quote ‘kp-enter’.
 ■  Warning (comp): mozc.el:583:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
 ■  Warning (comp): mozc.el:826:21: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead.
 ■  Warning (comp): mozc.el:1257:16: Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ instead.
 ■  Warning (comp): mozc.el:1423:2: Warning: defvar `mozc-session-seq' docstring has wrong usage of unescaped single quotes (use \= or different quoting)
 ■  Warning (comp): mozc.el:1463:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
 ■  Warning (comp): mozc.el:1643:6: Warning: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead.
 ■  Warning (comp): mozc.el:1720:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
 ■  Warning (comp): mozc.el:1762:10: Warning: ‘inhibit-changing-match-data’ is an obsolete variable (as of 29.1); use ‘save-match-data’ instead.

修正すべきポイントについては追って記載予定。
ただ、新しい mozc から変更を持ってくるほうがよいかもしれない。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions