jscheid / dtrt-indent

A minor mode that guesses the indentation offset originally used for creating source code files and transparently adjusts the corresponding settings in Emacs, making it more convenient to edit foreign files.
187 stars 31 forks source link

Compilation warnings under Emacs 29.2 #79

Open rdiez opened 9 months ago

rdiez commented 9 months ago

First of all, many thanks for dtrt-indent.

I just upgraded to Emacs 29.2 and dtrt-indent 1.16, and now I am getting these compilation warnings:

⛔ Warning (comp): dtrt-indent.el:198:44: Warning: reference to free variable ‘smie-grammar’
⛔ Warning (comp): dtrt-indent.el:200:25: Warning: reference to free variable ‘smie-config--buffer-local’
⛔ Warning (comp): dtrt-indent.el:201:19: Warning: reference to free variable ‘dtrt-indent-run-after-smie’
⛔ Warning (comp): dtrt-indent.el:207:31: Warning: defcustom for ‘dtrt-indent-global-mode’ fails to specify containing group
⛔ Warning (comp): dtrt-indent.el:207:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
⛔ Warning (comp): dtrt-indent.el:437:2: Warning: custom-declare-variable `dtrt-indent-require-confirmation-flag' docstring has wrong usage of unescaped single quotes (use \= or different quoting)
⛔ Warning (comp): dtrt-indent.el:580:2: Warning: custom-declare-variable `dtrt-indent-min-matching-indentations' docstring has wrong usage of unescaped single quotes (use \= or different quoting)
⛔ Warning (comp): dtrt-indent.el:200:53: Warning: the function ‘smie-config-guess’ is not known to be defined.
rrthomas commented 9 months ago

Thanks for these. Patch welcome, otherwise I'll look at it some time.