swiper icon indicating copy to clipboard operation
swiper copied to clipboard

ivy--action-insert throws wrong-type-argument via swiper-isearch

Open dustinpaluch opened this issue 3 years ago • 0 comments

emacs -q, load swiper, M-x swiper-isearch, search for a line, then M-o i.

Expected: the current candidate is inserted at point in the buffer. Actual: (wrong-type-argument listp 1267)

Emacs 27.1, Swiper 0.13.4

Debugger entered--Lisp error: (wrong-type-argument listp 1267)
  ivy--action-insert(1267)
  ivy-call()
  ivy-read("Swiper: " swiper-isearch-function :initial-input nil :keymap (keymap (27 keymap (110 . swiper-isearch-thing-at-point)) keymap (3 keymap (6 . swiper-toggle-face-matching)) (67108919 . swiper-mc) (67108903 . swiper-avy) (12 . swiper-recenter-top-bottom) (27 keymap (113 . swiper-query-replace)) (19 . swiper-C-s)) :dynamic-collection t :require-match t :action swiper-isearch-action :re-builder swiper--re-builder :history swiper-history :extra-props (:fname "/Users/dustinpaluch/.emacs.d/init.el" :ivy-data (:all-candidates (1267) :text "tool")) :caller swiper-isearch)
  swiper-isearch()
  funcall-interactively(swiper-isearch)
  call-interactively(swiper-isearch record nil)
  command-execute(swiper-isearch record)
  execute-extended-command(nil "swiper-isearch" "swiper-isea")
  funcall-interactively(execute-extended-command nil "swiper-isearch" "swiper-isea")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

dustinpaluch avatar Oct 15 '21 16:10 dustinpaluch