Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repeat-mode not working with Meow #693

Open
omidmnz opened this issue Dec 11, 2024 · 2 comments
Open

repeat-mode not working with Meow #693

omidmnz opened this issue Dec 11, 2024 · 2 comments

Comments

@omidmnz
Copy link

omidmnz commented Dec 11, 2024

Using the following (almost minimal) example, the shortcut C-c w u enters the repeat-mode functionality properly, but SPC w u (while doing the undo) does not enter the repeat-mode transient state:

(use-package meow
  :vc ( :url "https://github.com/meow-edit/meow"
        :branch "master"
        :rev :newest)
  :demand t
  :config
  (meow-global-mode +1))

(bind-keys
 :prefix "C-c w"
 :prefix-map winner-mode-prefix-map)

(use-package winner
  :demand t
  :bind
  ( :map winner-mode-prefix-map
    ("u" . winner-undo)
    ("r" . winner-redo)
    :repeat-map winner-mode-repeat-map
    ("u" . winner-undo)
    ("r" . winner-redo))
  :config (winner-mode +1))

(use-package repeat
  :demand t
  :config (repeat-mode 1))

Bisecting this meow repository points to 8ae8b2c as the culprit.

I have tested this with other modes and packages (than winner-mode) too with the similar results.

This has been tested on GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2).

@ircurry
Copy link

ircurry commented Dec 11, 2024

I have the same issue with my configuration as well. I am using GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2). In my case I was using the repeat map for other-window.

@Haxxflaxx
Copy link
Contributor

This is due to how the refactored keypad reports last-key-event, similar to #698

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants