all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
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: Sun, 30 Jan 2022 21:34:31 -0500	[thread overview]
Message-ID: <jwvsft4prb7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87tudk7wds.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 30 Jan 2022 22:21:19 +0100")

> This was seven years ago, and apparently defclass still creates the
> undocumented -list-p functions.  Is the consensus that they should be
> removed?  Perhaps we should generate them as obsolete functions, to
> allow third-party usages of them to be notified?

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")))

-- Stefan






  reply	other threads:[~2022-01-31  2:34 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 [this message]
2022-01-31 15:33               ` Lars Ingebrigtsen

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=jwvsft4prb7.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=18494@debbugs.gnu.org \
    --cc=deng@randomsample.de \
    --cc=eric@siege-engine.com \
    --cc=ericludlam@gmail.com \
    --cc=larsi@gnus.org \
    --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.