Any version of the avy goto line function doesn't work in dired with dired-x omit-mode enabled, when called non-interactively.
Only the first file line is affected, which is line 2 in the dired buffer.
When invoking the same avy commands interactively, there's a visual tell for this bug. Line 2 is indented when the avy overlay is active.
When called non-interactively, if avy selects line 2, (dired-find-file) will complain that there is no file on the line.
I don't know whether this bug is dired-x's fault or avy's.
I reproduced it in Spacemacs without my customizations, but didn't attempt to reproduce it in regular GNU Emacs.
One way to replicate the bug is to open a dired buffer, and do
Any version of the avy goto line function doesn't work in dired with dired-x omit-mode enabled, when called non-interactively. Only the first file line is affected, which is line 2 in the dired buffer. When invoking the same avy commands interactively, there's a visual tell for this bug. Line 2 is indented when the avy overlay is active. When called non-interactively, if avy selects line 2, (dired-find-file) will complain that there is no file on the line.
I don't know whether this bug is dired-x's fault or avy's.
I reproduced it in Spacemacs without my customizations, but didn't attempt to reproduce it in regular GNU Emacs.
One way to replicate the bug is to open a dired buffer, and do
Pick line 2 when prompted. It should be inappropriately indented. It should return this error: