You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling interactively avy-goto-line breaks any subsequent avy--generic-jump; the point does not move to the selected candidate of avy--generic-jump anymore. A call to avy-goto-char is then needed to unblock the situation.
Shortened steps to reproduce:
Eval (progn (call-interactively 'avy-goto-line) (avy--generic-jump "avy" nil 'at-full)), as long as there is at least one occurrence of "avy" (or change that part).
Full steps I use to reproduce the bug:
Launching emacs with -q flag (no init file).
Switching to *scratch* buffer.
Yanking and using eval, bits by bits:
(require'avy)
(progn
(call-interactively'avy-goto-line)
(avy--generic-jump "avy"nil'at-full))
;; avy--generic-jump is "stuck": point does not move to the selected candidate.;; Just for fun ----------------
(defunap/avy-goto-line (&optionalbegend)
"Simpler subset implementation of `avy-goto-line'."
(interactive)
(avy--generic-jump "\\(^.\\|^\n\\)"nil'at-full))
;; calling avy-goto-char to unblock avy--generic-jump.
(call-interactively'avy-goto-char)
(progn
(call-interactively'ap/avy-goto-line)
(avy--generic-jump "avy"nil'at-full))
Note that the failing calls to avy--generic-jump all exit with the actual position of the candidate selected (eg. 811), but the point does not go to that position.
By the way, calling non interactively avy-goto-line with no argument makes it crash with (wrong-type-argument number-or-marker-p nil). Given the signature (avy-goto-line &optional ARG), I'd expect it to maybe do nothing (no jump), but to somewhat handle the case where no argument is given (?)
emacs version: GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian
avy version: 20151219.630 (according to package-list-packages).
The text was updated successfully, but these errors were encountered:
Calling interactively
avy-goto-line
breaks any subsequentavy--generic-jump
; the point does not move to the selected candidate ofavy--generic-jump
anymore. A call toavy-goto-char
is then needed to unblock the situation.Shortened steps to reproduce:
(progn (call-interactively 'avy-goto-line) (avy--generic-jump "avy" nil 'at-full))
, as long as there is at least one occurrence of "avy" (or change that part).Full steps I use to reproduce the bug:
-q
flag (no init file).*scratch*
buffer.Note that the failing calls to
avy--generic-jump
all exit with the actual position of the candidate selected (eg.811
), but the point does not go to that position.By the way, calling non interactively
avy-goto-line
with no argument makes it crash with(wrong-type-argument number-or-marker-p nil)
. Given the signature(avy-goto-line &optional ARG)
, I'd expect it to maybe do nothing (no jump), but to somewhat handle the case where no argument is given (?)emacs version:
GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian
avy version:
20151219.630
(according topackage-list-packages
).The text was updated successfully, but these errors were encountered: