Skip to content
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

consult-yank-pop et al don't work with ivy #441

Closed
NightMachinery opened this issue Oct 9, 2021 · 3 comments
Closed

consult-yank-pop et al don't work with ivy #441

NightMachinery opened this issue Oct 9, 2021 · 3 comments

Comments

@NightMachinery
Copy link

Debugger entered--Lisp error: (wrong-type-argument listp t)
  delete(";;; gitmodules/fzf.el/counsel-fzf.el -*- lexical-b..." t)
  ivy--update-history(t)
  ivy-read("Yank from kill-ring: " #f(compiled-function (str pred action) #<bytecode 0xf3c6abf477d411e>) :predicate nil :require-match t :initial-input nil :preselect nil :def nil :history t :keymap nil :dynamic-collection nil :extra-props (:caller ivy-completing-read) :caller consult-yank-from-kill-ring)
  ivy-completing-read("Yank from kill-ring: " #f(compiled-function (str pred action) #<bytecode 0xf3c6abf477d411e>) nil t nil t nil nil)
  completing-read("Yank from kill-ring: " #f(compiled-function (str pred action) #<bytecode 0xf3c6abf477d411e>) nil t nil t nil nil)
  #f(compiled-function () #<bytecode -0xf7133979b6345b>)()
  consult--with-preview-1(any #f(compiled-function (cand restore) #<bytecode 0x1fba5642ace4711f>) #f(compiled-function (input cand) #<bytecode -0x56ad034f2932c3d>) #f(compiled-function (&rest args2) #<bytecode 0x1ab2cbb48d2659c1>) #f(compiled-function () #<bytecode -0xf7133979b6345b>))
  consult--read-1((";;; gitmodules..." ... ... ... ... "https://github..." "https://github..." ... ... "(setq orderles..." "orderless-styl..." ... ... "(defun first-i..." ...) :prompt "Yank from kill..." :history t :sort nil :category consult-yank :require-match t :state #f(compiled-function (cand restore) #<bytecode 0x1fba5642ace4711f>) :prompt ...)
  consult--read((";;; gitmodules..." ... ... ... ... "https://github..." "https://github..." ... ... "(setq orderles..." "orderless-styl..." ... ... "(defun first-i..." ...) :prompt "Yank from kill..." :history t :sort nil :category consult-yank :require-match t :state #f(compiled-function (cand restore) #<bytecode 0x1fba5642ace4711f>))
  consult--read-from-kill-ring()
  byte-code("\301 \10D\207" [current-prefix-arg consult--read-from-kill-ring] 2)
  command-execute(consult-yank-from-kill-ring record)
@minad
Copy link
Owner

minad commented Oct 9, 2021

Duplicate #377

Ivy is not supported by Consult. See https://github.com/minad/consult#bug-reports. We can also add Ivy support here if someone contributes it, see #212. However for Ivy people usually use Counsel which is specifically tailored for Ivy. If you want to try out Consult I recommend the Vertico completion UI.

@minad
Copy link
Owner

minad commented Oct 9, 2021

I created abo-abo/swiper#2923 to specifically address this issue.

@NightMachinery
Copy link
Author

consult-yank-pop seems to be working correctly under ivy, as of the latest versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants