-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Slightly different use of faces in the overlays #42
Comments
You know that you can customize faces, right? M-x |
Yes, I do know :) If I make them the same, the issue does not exist, of course. It exists because I want them to be different: I want the leading chars that I can choose to stand out, but always, not only if they are "non-terminating"... |
Thanks a lot! That seems to do exactly what I had in mind, at least for the styles I do not use the Thanks again, I'm gonna replace some more functionality with avy now :) |
I really like
avy
so far, to replace the rather inflexibleace-jump-mode
setup I had. However, there is one thing that strikes me as odd about the use of the three facesavy-lead-face*
:avy-lead-face-0
is used for the 1st non-terminating lead char, not for all the chars I can select at any given time.So in a tree with 2- and 3-char possibilities, after I have typed the 1st char, the 2nd char in the 3-char sequences is highlighted with
avy-lead-face-0
, but the 2nd char in the 2-char sequences is highlighted "normally" withavy-lead-face
(because it is terminating the sequence).To me, that does not make much sense; I would always like all possible choices to stand out. Could you explain the rationale behind the current behavior? It seems this could be changed (even optionally) in the
avy--overlay-*
functions, what do you think about that? If you agree, I would get to that soon.The text was updated successfully, but these errors were encountered: