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

Error in post-command-hook (ivy--queue-exhibit): (wrong-type-argument listp leaf) #119

Open
catap opened this issue Apr 22, 2023 · 0 comments

Comments

@catap
Copy link

catap commented Apr 22, 2023

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.

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

1 participant