Skip to content
Discussion options

You must be logged in to vote

If the prompt already contains :tag1:tag2: you can simply select the prompt and press RET. Then the result will be :tag1:tag2:. If you add tag1 via Vertico, of course the returned result will be :tag1:tag2:tag1:. It seems to be the responsibility of org-set-tags-command to filter out duplicates, if this is desired. completing-read-multiple doesn't guarantee a list of unique values as far as I know, since the duplicates might be desired in some cases.

EDIT: I should add Vertico doesn't provide a completing-read-multiple implementation. It provides just the UI for the default completing-read-multiple function.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kisaragi-hiu
Comment options

Answer selected by kisaragi-hiu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants