Comments (4)
Same problem on my machine. Keep getting evil-snipe--collect-keys: Invalid function
every time I press "f", even with pristine clean config.el
file. Sorry, don't have enough experience with ELisp at the moment to learn more.
System information
GNU Emacs 29.0.60 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2202.70 Version 11.7.2 (Build 20G1020)) of 2023-03-25
Doom core v3.0.0-pre grafted, HEAD -> master, origin/master, origin/HEAD 4e105a95 2023-03-22 18:29:38 -0400
Doom modules v23.03.0-pre grafted, HEAD -> master, origin/master, origin/HEAD 4e105a95 2023-03-22 18:29:38 -0400
Temporary workaround
Had to temporarily disable evil-snipe with
(package! evil-snipe :disable t)
added to ~/.doom.d/packages.el
. To make at least the standard "f" search work.
from evil-snipe.
I recently updated my init.el and switched some things around like using elpaca instead of straight.el. Since then, it broke, and I am getting the same error
Debugger entered--Lisp error: (invalid-function 1)
1(0 1)
evil-snipe--collect-keys(nil t)
(let ((evil-snipe--match-count 1)) (evil-snipe--collect-keys count evil-snipe--last-direction))
(list (progn (setq evil-snipe--last-direction t) count) (let ((evil-snipe--match-count 1)) (evil-snipe--collect-keys count evil-snipe--last-direction)))
(let ((count (if current-prefix-arg (prefix-numeric-value current-prefix-arg)))) (list (progn (setq evil-snipe--last-direction t) count) (let ((evil-snipe--match-count 1)) (evil-snipe--collect-keys count evil-snipe--last-direction))))
command-execute(evil-snipe-f)
from evil-snipe.
Maybe a compilation issue? If I open the definition of evil-snipe--collect-keys
, M-x eval-defun
on it, the problem goes away. evil-escape
has a very similar issue too.
from evil-snipe.
The issue was related to a bug in a recent emacs 29/30.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61917
https://www.reddit.com/r/emacs/comments/121xnak/emacs_29_broken_packages_since_last_update/
After reverting to a previous version, everything started working again.
And it looks there is now a new commit in 30 that also fixes the issue.
from evil-snipe.
Related Issues (20)
- Search in both directions HOT 2
- evil-snipe-f can't find the last character of a link description in org-mode
- t movement broken (inconsistent with vim and/or vanilla evil) HOT 1
- t/T with evil-snipe-override-mode does not behave correctly
- Evil snipe in the minibuffer? HOT 2
- No highlight if a target has two following spaces or is at the end of a line
- Error: Symbol's Value as variable is void: count HOT 1
- Highlight targets for f, F, t and T keys HOT 5
- Missing evil-snipe-auto-disable-substitute variable?
- evil-snipe-scope 'buffer not respected HOT 1
- `evil-snipe-override-mode` causes delete/change/yank (`d`/`c`/`y`) commands forward (`f`) to space to not include space HOT 2
- `evil-snipe-override-evil` in doc but not in code
- How to repeat searches after rebinding f to evil-snipe-s HOT 1
- evil-snipe-repeat(-reverse) misbehavior when remapped/swapped
- Add option for making jumps not skip over invisible characters
- evil-snipe-skip-leading-whitespace inconsistency
- evilem-define/evilem-create's `:bind` does not work as expected
- the cursor moves right if search fails
- Possibility to restrict highlights to first 2 or last 2 characters in word
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-snipe.