Context: I was using debian 12 with KDE Plasma, long story short I have to reinstall debian 12 with xfce, I use the same configuration file for emacs (it used to work fine in debian 12 with KDE) but in this new debian I got this message:

Warning (Emacs): elpaca version mismatch

Note 2: I didnt install emacs from the debian repositories because they dont have the version 29.1 so I compile myself the source.

  • ragneseB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 年前

    Remember when you first setup elpaca in your init.el and you copy+pasted a big block of elisp from elpaca’s documentation? That elpaca setup code has a version-number variable that it sets. When you initialized your new Emacs instance, it installed elpaca from MELPA, but the version on MELPA is a newer version than your copy+pasted code from elpaca’s docs. The solution is to replace your copy+pasted code by copy+pasting the new code in elpaca’s docs.

    • camber-weaverB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 年前

      Yes, this. I’ve had this happen a number of times and the solution was just to bump the specified elpaca version. I’ve had no negative consequences from doing so.