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

escape keys leak into macro contents #7

Open
neeasade opened this issue Jan 16, 2025 · 0 comments
Open

escape keys leak into macro contents #7

neeasade opened this issue Jan 16, 2025 · 0 comments

Comments

@neeasade
Copy link

neeasade commented Jan 16, 2025

I have evil-escape-key-sequence set to "tn", and when I make a macro to insert this, thistn is inserted instead.

That is, when I qwi this tn q and then @w, I get thistn

I was previously on this fork: https://github.com/hlissner/evil-escape, before coming over here to see the bug as well

edit: manually bisected to here: emacs-evil/evil@0ad84c5

my repro env with straight.el on emacs -Q and a temp $HOME:

(defvar bootstrap-version)
(let ((bootstrap-file
        (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
       (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
      (url-retrieve-synchronously
        "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
        'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

(straight-use-package 'use-package)

(use-package evil)
(setq-default evil-escape-key-sequence "tn")
(use-package evil-escape :straight (evil-escape :host github :repo "emacsorphanage/evil-escape"))
(evil-escape-mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant