`Error in post-command-hook (ivy--queue-exhibit): (wrong-type-argument listp leaf)`
catap opened this issue · comments
Kirill A. Korinsky commented
Here a bit tricky code, and I have no idea how to minimize an example.
I'm using https://github.com/doomemacs/doomemacs and it's workspaces. It uses ivy
at switch between them:
https://github.com/doomemacs/doomemacs/blob/d12b0ebc80dc2e14b5bcfad7f00f0cc07d3f2841/modules/ui/workspaces/autoload/workspaces.el#L316-L346
Right now when I'm trying to switch workspace it shows a error:
Error in post-command-hook (ivy--queue-exhibit): (wrong-type-argument listp leaf)
If I switch off ivy-rich
via M-x ivy-rich-mode
an error dissapear. Thus, if I change ivy-read
call from:
(ivy-read "Switch to workspace: "
(+workspace-list-names)
:caller #'+workspace/switch-to
:preselect (+workspace-current-name))
to something with different :caller
or remove it => the error is also dissapear.