From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eric Ludlam <ericludlam@gmail.com>, Tom Tromey <tom@tromey.com>,
Eric Ludlam <eric@siege-engine.com>,
David Engster <deng@randomsample.de>,
18494@debbugs.gnu.org
Subject: bug#18494: 24.4.50; defclass creates undocumented *-list-p function
Date: Mon, 31 Jan 2022 16:33:19 +0100 [thread overview]
Message-ID: <87y22v2a4g.fsf@gnus.org> (raw)
In-Reply-To: <jwvsft4prb7.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 30 Jan 2022 21:34:31 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> AFAIK that's already what we do:
>
> (when eieio-backward-compatibility
> (let ((csym (intern (concat (symbol-name cname) "-list-p"))))
> (defalias csym
> [...]
> (make-obsolete csym (format
> "use (cl-typep ... \\='(list-of %s)) instead"
> cname)
> "25.1")))
Sorry; should have checked first.
Eric Ludlam <eric@siege-engine.com> writes:
> Could someone explain (and show) to me in detail how/where these
> foo-list-p are used in relation to EIEIO?
>
> Sure, in ede/base.el, you will find these lines:
[...]
> for "targets: you will see:
>
> :type ede-target-list
>
> which will expand to ede-target-list-p, which is a test for a list of type ede-target.
And this has been fixed, so I guess there's nothing to do here (beyond
removing the -list-p predicates when we start removing things obsoleted
in 25.1 in a couple of years), and I'm therefore closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2022-01-31 15:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 2:09 bug#18494: 24.4.50; defclass creates undocumented *-list-p function Tom Tromey
2014-09-20 10:41 ` David Engster
2014-09-20 19:53 ` Eric Ludlam
2014-09-20 23:08 ` Stefan Monnier
2014-09-20 23:34 ` Eric Ludlam
2014-09-21 16:20 ` Stefan Monnier
2014-09-21 16:37 ` Eric Ludlam
2014-10-17 5:11 ` Stefan Monnier
2022-01-30 21:21 ` Lars Ingebrigtsen
2022-01-31 2:34 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-31 15:33 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y22v2a4g.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=18494@debbugs.gnu.org \
--cc=deng@randomsample.de \
--cc=eric@siege-engine.com \
--cc=ericludlam@gmail.com \
--cc=monnier@iro.umontreal.ca \
--cc=tom@tromey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.