Giter VIP home page Giter VIP logo

Comments (3)

axelf4 avatar axelf4 commented on May 27, 2024

evil-add-to-alist was deprecated for many years and eventually removed in favor of alist-get/evil--add-to-alist. You should update any external code that depended on it. Could you produce a backtrace to show what is still using it?

from evil.

huyz avatar huyz commented on May 27, 2024

Here's the backtrace:

Debugger entered--Lisp error: (void-function evil-add-to-alist)
  evil-add-to-alist(evil-global-keymaps-alist evil-normal-state-minor-mode evil-normal-state-map)
  byte-code("\301\302N\204\f\0\303\301\302\304#\210\305\301!\210\303\301\306\307#\210\310\311\301\300#\210\310\312\301\10#\207" [evil-normal-state-map evil-normal-state-minor-mode variable-documentation put nil make-variable-buffer-local permanent-local t evil-add-to-alist evil-global-keymaps-alist evil-mode-map-alist] 4)
  require(evil-states)
  byte-code("\302\303!\210\302\304!\210\302\305!\210\302\306!\210\302\307!\210\302\310!\210\302\311!\210\302\312!\210\302\313!\210\302\314!\210\302\315!\210\302\316!\210\10\203..." [evil-want-integration evil-want-keybinding require evil-vars evil-common evil-core evil-states evil-repeat evil-macros evil-search evil-ex evil-types evil-commands evil-jumps evil-maps evil-integration evil-keybindings run-hooks evil-after-load-hook provide evil] 2)
  load("evil")
  load-library("evil")
  funcall-interactively(load-library "evil")
  call-interactively(load-library record nil)
  command-execute(load-library record)
  execute-extended-command(nil "load-library" "load-library")
  funcall-interactively(execute-extended-command nil "load-library" "load-library")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

Besides that, I tried:

❯ rg --smart-case -L --no-ignore --hidden --binary evil-add-to-alist
elpa/evil-20230828.1342/evil-search.elc: binary file matches (found "\0" byte around offset 5)

elpa/evil-20230828.1342/evil-states.elc: binary file matches (found "\0" byte around offset 5)

That's all I could find in my ~/.emacs.d.

I can't make sense of this. Thanks for your help

from evil.

huyz avatar huyz commented on May 27, 2024

Oh you know what? I just realized these compiled *.elc files were probably from when my packages were in a half-upgraded state. Deleting them fixed my problem.

Thanks!

from evil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.