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

Ivy-read with alist #696

jtamagnan opened this Issue Sep 30, 2016 · 1 comment


None yet
2 participants
Copy link

commented Sep 30, 2016

It seems like ivy-read no longer works properly with an alist.
For example the following code snippet will message "one" instead of "1" if the first option is chosen

(ivy-read "Choose: "
      '(("one" . 1) ("two". 2) )
      :action (lambda (x) (interactive) (message "%s" x)))

This problem also occurs with counsel-hydra-heads which renders it useless

P.S. Maybe that is how ivy-read is supposed to work and I misunderstood and counsel-hydra-heads is not working for some other reason. This was just my initial impression as to what ivy-read was supposed to do when given an alist.

@abo-abo abo-abo closed this in 9b28927 Oct 1, 2016


This comment has been minimized.

Copy link

commented Oct 1, 2016

Thanks, should be fixed now. A cdr call now needs to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.