When making a custom zsh completion, the compadd function has the -Q option. The zsh documentation describes the -Q option as follows:
-Q This flag instructs the completion code not to quote any metacharacters in the matches when inserting them into the command
So, as an example, I set up autocompletion for a function myfun as follows:
compadd 'a{b' compadd 'a{c' then when I do
% myfun <TAB> it will autocomplete to
% myfun a\{ then another <TAB> will show a\{b and a\{c as the completion options.
On the other hand, if I do
compadd -Q 'a{b' compadd -Q 'a{c' then when I do
% myfun <TAB> it will autocomplete to
% zz a{ but pressing <TAB> again won't show anything. So in summary, the completion matches that I have added using compadd -Q are not selectable, and seem of little use.
So what is the use case of the -Q flag? What are some examples of how it intended to be used? There are very few examples I can find on the web.