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

Completion of options containing special characters is unreliable #15

Open
okdana opened this issue Dec 31, 2018 · 0 comments
Open

Completion of options containing special characters is unreliable #15

okdana opened this issue Dec 31, 2018 · 0 comments
Labels
bug has patch A patch (either complete or WIP) has been written unacknowledged Reported but unacknowledged on the ML

Comments

@okdana
Copy link
Owner

okdana commented Dec 31, 2018

You're supposed to be able to include special characters (+ and = are the only ones documented, but ideally you'd want also :, \, and [) in option names defined for completion by escaping them with a back-slash. This sort of works, but not really. Things get confused in the bowels of the completion system because the back-slashes aren't removed from the names before storing them. At the same time, many of the higher-level functions, like _arguments and _describe, handle characters like : and \ too naïvely.

I've submitted a patch, workers/43922, which fixes this well enough for the C stuff, but it either doesn't affect or subtly changes the higher-level behaviour. These are really weird edge cases that probably nobody will ever care about, but it would be nice to fix them if it's not too ridiculous.

@okdana okdana added bug unacknowledged Reported but unacknowledged on the ML has patch A patch (either complete or WIP) has been written labels Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug has patch A patch (either complete or WIP) has been written unacknowledged Reported but unacknowledged on the ML
Projects
None yet
Development

No branches or pull requests

1 participant