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

Duplicate entries in the list returned from completing-read-multiple when using C-j and trailing , #285

Closed
plattfot opened this issue Dec 16, 2020 · 2 comments

Comments

@plattfot
Copy link

Encounter this bug when testing out selectrum

If I have (selectrum-mode -1) (i.e. run emacs' implementation of completing-read-multiple), then run this code

(completing-read-multiple "Test: " '("foo" "bar" "baz"))

Type in baz, (note the trailing ,) hit C-j I get

("baz")

But when I enable selectrum (selectrum-mode +1), run the same code, with the same input and hit C-j I get

("baz" "baz")

I.e run the code, hit TAB and then C-j.

I get the expected behavior if I hit enter or remove the trailing , and hit C-j.

I tested this with version 3.0 (from guix), 20201216.1841 (from melpa) and f5f2329 (from master).

@clemera
Copy link
Collaborator

clemera commented Dec 21, 2020

Thanks, should be fixed by #296?

@plattfot
Copy link
Author

That fixed it for me thanks!
Closing this issue.

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

No branches or pull requests

2 participants