GNU bug report logs - #53586
29.0.50; ws-body compilation warning?

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Thu, 27 Jan 2022 16:25:01 UTC

Severity: minor

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 53586 in the body.
You can then email your comments to 53586 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 bug-gnu-emacs <at> gnu.org:
bug#53586; Package emacs. (Thu, 27 Jan 2022 16:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 27 Jan 2022 16:25:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; ws-body compilation warning?
Date: Thu, 27 Jan 2022 17:24:10 +0100
This started happening the past week:

ELC      lisp/emacs-lisp/ert-x-tests.elc

In toplevel form:
lisp/emacs-lisp/ert-x-tests.el:261:22: Warning: `body' is an obsolete alias (as of 2020-03-12); use `ws-body' instead.

It's from this code:

  (cl-labels ((body ()
                (cl-loop for i below 3 do
                         (message "%s" i)))
              ;; Uses the implicit messages buffer truncation implemented
              ;; in Emacs' C core.
              (c (x)
                (ert-with-buffer-renamed ("*Messages*")
                  (let ((message-log-max x))
                    (body))

So it believes that `body' is an obsolete function...  but after
spending a few minutes grepping for `ws-body', I'm not able to find
what's doing this.

Anybody?


In GNU Emacs 29.0.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0)
 of 2022-01-24 built on giant
Repository revision: 77b72f77b3a5d13fc6e71746dee2cf68305057e2
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12014000
System Description: Debian GNU/Linux bookworm/sid


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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53586; Package emacs. (Tue, 22 Feb 2022 02:20:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 53586 <at> debbugs.gnu.org
Subject: Re: bug#53586: 29.0.50; ws-body compilation warning?
Date: Tue, 22 Feb 2022 03:19:16 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> So it believes that `body' is an obsolete function...  but after
> spending a few minutes grepping for `ws-body', I'm not able to find
> what's doing this.

Found it -- it came from ELPA.  I redid the dependencies in 2312775928
to make this warning disappear (and make some of the ELPA output less
confusing).

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




bug marked as fixed in version 29.1, send any further explanations to 53586 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 22 Feb 2022 02:20: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. (Tue, 22 Mar 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 84 days ago.

Previous Next


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