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

avy-escape-chars contradiction #326

Open
psionic-k opened this issue Aug 2, 2021 · 0 comments
Open

avy-escape-chars contradiction #326

psionic-k opened this issue Aug 2, 2021 · 0 comments

Comments

@psionic-k
Copy link

I've been replacing some bindings and found a way to make a funny error message. First set avy-escape-chars

(use-package avy
  :custom
  (avy-escape-chars '(?\e ?\M-g)))

Now pressing C-g gives the error message:

No such candidate: ^G, hit ‘C-g’ to quit.

Using the last character of the avy-escape-chars variable to print the error would also fix the error

As a more total fix, it may be acceptable to look at keyboard-quit binding and add it to this list, then use the last character of the list to print the error message. If a user has rebound C-g in time for discovery, it will default to pretty good behavior.

Easy to fix, just want to discuss before I PR this

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

1 participant