unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53586: 29.0.50; ws-body compilation warning?
@ 2022-01-27 16:24 Lars Ingebrigtsen
  2022-02-22  2:19 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-27 16:24 UTC (permalink / raw)
  To: 53586


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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#53586: 29.0.50; ws-body compilation warning?
  2022-01-27 16:24 bug#53586: 29.0.50; ws-body compilation warning? Lars Ingebrigtsen
@ 2022-02-22  2:19 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-22  2:19 UTC (permalink / raw)
  To: 53586

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-22  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 16:24 bug#53586: 29.0.50; ws-body compilation warning? Lars Ingebrigtsen
2022-02-22  2:19 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).