meow-edit / meow

Yet another modal editing on Emacs / 猫态编辑
GNU General Public License v3.0
1.07k stars 128 forks source link

SPC SPC errors in meow-motion-mode #579

Closed velppa closed 1 month ago

velppa commented 1 month ago

Some time ago {SPC SPC} in meow-motion-mode stopped working. I'm using it in Magit to check the contents of commit, need to turn off meow for that.

I reproduced it with emacs -Q, downloading v1.4.5 from Non-GNU Elpa (Github releases lists latest release as v1.4.3 for some reason).

It looks like something's wrong with H-SPC.

(package-initialize)
(package-install 'meow)
(require 'meow)
(meow-global-mode +1)
(toggle-debug-on-error)
(dired ".")
;; {SPC SPC} ;; Wrong type argument: commandp, 1

Debugger:

(wrong-type-argument commandp 1)
  call-interactively(1)
  #f(compiled-function () (interactive nil) #<bytecode -0x1c939b9cc8dff51c>)()
  funcall-interactively(#f(compiled-function () (interactive nil) #<bytecode -0x1c939b9cc8dff51c>))
  meow--execute-kbd-macro("H-SPC")
  meow-dispatch_7()
  funcall-interactively(meow-dispatch_7)
  meow--keypad-try-execute()
  meow-keypad-self-insert()
  funcall-interactively(meow-keypad-self-insert)

I'm on macOS (M1), tried different builds (emacs-mac-port, emacs-builds), all show the same behaviour.

DogLooksGood commented 1 month ago

Yep, I can reproduce.

DogLooksGood commented 1 month ago

Fixed 7518bd9