unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stefan Kangas <stefan@marxist.se>
Cc: emacs-devel@gnu.org
Subject: Re: master b5393c6 2/3: Silence undefined function warnings in eieio-tests.el
Date: Sun, 09 Jan 2022 22:38:57 -0500	[thread overview]
Message-ID: <jwvh7ac9s6q.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <Yds1JteOkQKa2Pk9@protected.localdomain> (Jean Louis's message of "Sun, 9 Jan 2022 22:19:02 +0300")

> What I know is that I cannot run helm and other packages because in
> latest development version I am getting:
>
> byte-code: Symbol’s function definition is void: eieio--defgeneric-init-form

The etc/NEWS explains that:

    ** Support for old EIEIO functions is not autoloaded any more.
    You need an explicit (require 'eieio-compat) to use 'defmethod'
    and 'defgeneric' (which have been made obsolete in Emacs-25 with
    'cl-defmethod' and 'cl-defgeneric').
    Similarly you might need to (require 'eieio-compat) before loading
    files that were compiled with an old EIEIO (Emacs<25).

The better fix is probably to recompile those packages with an Emacs≥25.


        Stefan




      reply	other threads:[~2022-01-10  3:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211220151236.23091.98968@vcs0.savannah.gnu.org>
     [not found] ` <20211220151238.2DADD209AC@vcs0.savannah.gnu.org>
2021-12-20 16:21   ` master b5393c6 2/3: Silence undefined function warnings in eieio-tests.el Stefan Monnier
2021-12-20 17:38     ` Stefan Kangas
2022-01-09 19:19       ` Jean Louis
2022-01-10  3:38         ` Stefan Monnier [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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvh7ac9s6q.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=stefan@marxist.se \
    /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 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).