[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1067854: elpa-magit: emacs-pgtk 29.2+1-2 emits deprecation warnings when using magit



Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> Package: elpa-magit
> Version: 3.3.0-3
> Severity: normal
> X-Debbugs-Cc: dkg@fifthhorseman.net
>
> Dear Maintainer,
>
> I'm using emacs-pgtk 29.2+1-2, with magit.
>
> I opened a revision controlled file in magit, and got the following
> warnings in my *Messages* buffer:
>
> ⛔ Warning (comp): magit-utils.el:571:33: Warning: ‘crm-default-separator’ is an obsolete variable (as of 29.1); use ‘crm-separator’ instead.
> ⛔ Warning (comp): magit-section.el:369:8: Warning: the function ‘linum-mode’ is not known to be defined.
> ⛔ Warning (comp): magit-git.el:257:2: Warning: custom-declare-variable `magit-list-refs-sortby' docstring has wrong usage of unescaped single quotes (use \= or different quoting)
> ⛔ Warning (comp): magit-process.el:803:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
> ⛔ Warning (comp): git-commit.el:741:25: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
> ⛔ Warning (comp): magit-log.el:456:12: Warning: the function ‘magit--any-wip-mode-enabled-p’ is not known to be defined.
> ⛔ Warning (comp): magit-status.el:312:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
>
> It would be great if magit didn't produce warnings unless there was an
> actual warning i should be paying attention to.
>
>        --dkg
>

It would be good that upstream will take care of them, which should
happen over time.

Meanwhile, this should happen only once when the source files are native
compiled the first time.  You may also wish to set
`native-comp-async-report-warnings-errors' to `nil' or `silent' to
suppress the popups if you'd like.

-- 
Xiyue Deng


Reply to: