Skip to content

Ivy-read with alist #696

Description

@jtamagnan

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions