Giter VIP home page Giter VIP logo

Comments (4)

kpot avatar kpot commented on September 27, 2024

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.

JosephFerano avatar JosephFerano commented on September 27, 2024

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.

vlaci avatar vlaci commented on September 27, 2024

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.

d1egoaz avatar d1egoaz commented on September 27, 2024

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)

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.