unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: Yasushi SHOJI <yasushi.shoji@gmail.com>, emacs-devel@gnu.org
Subject: Re: emacs-29: let*: Symbol’s function definition is void: \(setf\ compat-alist-get\) with Magit
Date: Wed, 18 Jan 2023 19:39:54 +0100	[thread overview]
Message-ID: <87fsc7y8wq.fsf@gnu.org> (raw)
In-Reply-To: <87wn5jaie6.fsf@gmail.com>

Robert Pluim <rpluim@gmail.com> writes:

>     Tassilo> See https://github.com/magit/magit/issues/4836.
>
> Oops. Breaking compatibility in a package called `compat' is a bit of
> a no-no :-)

That's funny but I think we should make clear there's no sarcasm in that
statement.  What I've understood from the various bug reports is that
David Mendler has explained why that change is for the better in the
long term and he coordinated carefully with authors of packages using
the compat library.

The result of that coordination was that when API-breaking compat
appeared, those packages had the required changes in place and required
the new compat version.  On package update, first the new compat was
installed, then the packages using the compat library.

However, it seems like when a package gets updated, it's not reloaded
and thusly the packages using the compat library where compiled with the
old compat version and that's why those errors popped up.

>     Tassilo> Basically, there has been a compat (the package) change
>     Tassilo> where after updating the compat package, one has to
>     Tassilo> re-install magit (and other packages) using that new
>     Tassilo> compat version.  That is required because some macro has
>     Tassilo> been changed.
>
> Thanks for that info, I guess that means this isnʼt an Emacs bug.

Decide for yourself.  I feel it could be an emacs bug.

Bye,
Tassilo



  parent reply	other threads:[~2023-01-18 18:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18 14:23 emacs-29: let*: Symbol’s function definition is void: \(setf\ compat-alist-get\) with Magit Yasushi SHOJI
2023-01-18 14:39 ` Robert Pluim
2023-01-18 15:48   ` Tassilo Horn
2023-01-18 16:59     ` Robert Pluim
2023-01-18 17:36       ` Eli Zaretskii
2023-01-18 18:25         ` [External] : " Drew Adams
2023-01-18 18:39       ` Tassilo Horn [this message]
2023-01-19  8:50         ` Robert Pluim
2023-01-19  9:57           ` Tassilo Horn
2023-01-25 17:17         ` Stefan Monnier
2023-01-18 18:54     ` Arash Esbati
2023-01-19  0:34     ` Yasushi SHOJI

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=87fsc7y8wq.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rpluim@gmail.com \
    --cc=yasushi.shoji@gmail.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 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).