Comments (3)
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.
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.
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)
- How to rebind "C-g" with "M-g" HOT 2
- Substitution preview for "\#" is incorrect HOT 1
- How do I set a goal column in Evil? HOT 2
- Input method in search and in replace modes doesn't match the currently activated one in insert mode
- Cursor color does not persist HOT 6
- Unable to set certain variables by `:custom` in `use-package` HOT 1
- Incompatibility with package indent-bars HOT 3
- Ex command no longer completes command contain dash (-) HOT 4
- Can’t make ‘nil’ obsolete; did you forget a quote mark? HOT 2
- Arrow Keys behaves like in vi HOT 15
- missing characters when horizontal scrolling if fringe-mode off + truncate-lines + tab indentation
- evil-define-key is not restricted to the mode specified HOT 1
- Yanking to ?+ register does not work in Emacs >=29 HOT 6
- `evil-search` with `isearch` module does not respect `dired-isearch-filenames-mode` starting with Emacs 29
- Restrict adding certain buffers to jump list HOT 6
- `company-complete` results in `(evil-repeat-post-hook): (wrong-type-argument number-or-marker-p nil)`
- Missing Visual Mode command: v_g_CTRL-A HOT 3
- evil-visual-char is not inclusive when using goto-char? HOT 2
- `describe-char` doesn't work outside of evail unless `(ad-deactivate #'describe-char)` is evaluated HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evil.