* Warnings about ''seq-contains"
@ 2022-04-01 7:54 Angelo Graziosi
2022-04-01 8:13 ` Arash Esbati
2022-04-01 12:28 ` Lars Ingebrigtsen
0 siblings, 2 replies; 5+ messages in thread
From: Angelo Graziosi @ 2022-04-01 7:54 UTC (permalink / raw)
To: emacs-devel@gnu.org
Current master produces many many (415?) warnings like this:
emacs-lisp/seq.el: Warning: `seq-contains' is an obsolete generic function (as of 27.1); use `seq-contains-p' instead.
I wonder if you can do something to avoid them...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Warnings about ''seq-contains"
2022-04-01 7:54 Warnings about ''seq-contains" Angelo Graziosi
@ 2022-04-01 8:13 ` Arash Esbati
2022-04-01 12:28 ` Lars Ingebrigtsen
1 sibling, 0 replies; 5+ messages in thread
From: Arash Esbati @ 2022-04-01 8:13 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: emacs-devel@gnu.org
Angelo Graziosi <angelo.g0@libero.it> writes:
> Current master produces many many (415?) warnings like this:
>
> emacs-lisp/seq.el: Warning: `seq-contains' is an obsolete generic
> function (as of 27.1); use `seq-contains-p' instead.
I also get 12 about:
eieio.el: Warning: `object-print' is an obsolete generic function (as of
26.1); use `cl-print-object' instead.
and 9 about:
eieio-base.el: Warning: `eieio-object-set-name-string' is an obsolete
generic function (as of 25.1); inherit from `eieio-named' and use (setf
(slot-value OBJ 'object-name) NAME) instead
This is with 8c031d8fcf on Win10.
Best, Arash
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Warnings about ''seq-contains"
2022-04-01 7:54 Warnings about ''seq-contains" Angelo Graziosi
2022-04-01 8:13 ` Arash Esbati
@ 2022-04-01 12:28 ` Lars Ingebrigtsen
2022-04-01 14:03 ` Stefan Monnier
1 sibling, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-01 12:28 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: Stefan Monnier, emacs-devel@gnu.org
Angelo Graziosi <angelo.g0@libero.it> writes:
> Current master produces many many (415?) warnings like this:
>
> emacs-lisp/seq.el: Warning: `seq-contains' is an obsolete generic
> function (as of 27.1); use `seq-contains-p' instead.
Stefan, could this be related to:
* 6f973faa91..: Stefan Monnier 2022-03-30 cl-generic: Use OClosures for `cl--generic-isnot-nnm-p`
It seems like requiring seq now gives a warning even though seq.el has
(with-suppressed-warnings ((obsolete seq-contains))
(cl-defgeneric seq-contains (sequence elt &optional testfn)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-04-02 12:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-01 7:54 Warnings about ''seq-contains" Angelo Graziosi
2022-04-01 8:13 ` Arash Esbati
2022-04-01 12:28 ` Lars Ingebrigtsen
2022-04-01 14:03 ` Stefan Monnier
2022-04-02 12:41 ` 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).