GNU bug report logs - #52971
Tests warn after eieio-compat.el was moved to obsolete/

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Mon, 3 Jan 2022 01:30:02 UTC

Severity: wishlist

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52971 in the body.
You can then email your comments to 52971 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org:
bug#52971; Package emacs. (Mon, 03 Jan 2022 01:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org. (Mon, 03 Jan 2022 01:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: Tests warn after eieio-compat.el was moved to obsolete/
Date: Sun, 2 Jan 2022 20:29:52 -0500
> branch: master
> commit d65534d254b3965ea82a9300c12c5c07f88818b7
> Author: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Commit: Stefan Monnier <monnier <at> iro.umontreal.ca>
>
>     * lisp/emacs-list/eieio-compat.el: Really move to obsolete

After this or some other recent and related commit, we get these
warnings:

  In toplevel form:
  lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el:58:1:
Warning: Package eieio-compat is deprecated
    GEN      lisp/emacs-lisp/ert-x-tests.log

  In toplevel form:
  lisp/emacs-lisp/eieio-tests/eieio-tests.el:30:1: Warning: Package
eieio-compat is deprecated

I'm not sure about the best way to fix them.  Could we just move those
parts that require eieio-compat.el to a new file eieio-compat-tests.el?

I will silence these warnings using `with-no-warnings' for now, and we
can track progress on this here instead.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52971; Package emacs. (Mon, 03 Jan 2022 04:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 52971 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 52971 <at> debbugs.gnu.org
Subject: Re: bug#52971: Tests warn after eieio-compat.el was moved to obsolete/
Date: Sun, 02 Jan 2022 23:22:21 -0500
> I'm not sure about the best way to fix them.  Could we just move those
> parts that require eieio-compat.el to a new file eieio-compat-tests.el?

That will just move the warnings.

> I will silence these warnings using `with-no-warnings' for now,

Sounds good.

> and we can track progress on this here instead.

Thanks,


        Stefan





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52971; Package emacs. (Mon, 03 Jan 2022 16:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 52971 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 52971 <at> debbugs.gnu.org
Subject: Re: bug#52971: Tests warn after eieio-compat.el was moved to obsolete/
Date: Mon, 3 Jan 2022 11:48:51 -0500
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> I'm not sure about the best way to fix them.  Could we just move those
>> parts that require eieio-compat.el to a new file eieio-compat-tests.el?
>
> That will just move the warnings.

My thinking was that if these tests are only for obsolete code, it would
be better to isolate them all in one file.  But I have no real opinion
either way.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52971; Package emacs. (Fri, 14 Jan 2022 09:00:02 GMT) Full text and rfc822 format available.

Message #14 received at 52971 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 52971 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#52971: Tests warn after eieio-compat.el was moved to obsolete/
Date: Fri, 14 Jan 2022 09:59:32 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
>>> I'm not sure about the best way to fix them.  Could we just move those
>>> parts that require eieio-compat.el to a new file eieio-compat-tests.el?
>>
>> That will just move the warnings.
>
> My thinking was that if these tests are only for obsolete code, it would
> be better to isolate them all in one file.  But I have no real opinion
> either way.

I think isolating them in a new test file makes sense -- makes things
clearer.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 18 Aug 2022 11:12:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 52971 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 28 Feb 2025 19:35:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Mar 2025 11:24:38 GMT) Full text and rfc822 format available.

This bug report was last modified 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.