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.

Full log


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





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.