abo-abo / avy

Jump to things in Emacs tree-style
1.7k stars 108 forks source link

avy-goto-end-of-line does not respect the avy-styles-alist #340

Open Ergus opened 2 years ago

Ergus commented 2 years ago

This is caused because the current implementation of avy-goto-end-of-line just calls avy-goto-line so avy-with receives avy-goto-line as command.

I just wanted to add this entry to the alist which seems to make sense for me (avy-goto-end-of-line . post) but it doesn't work.

This probably may be solved passing this-command to avy-with in avy-goto-line.

rynoV commented 1 year ago

Same issue with avy-goto-char-in-line. Passing avy-goto-char-in-line to avy-with instead of avy-goto-char seems to fix the issue.