Open mgrojo opened 1 year ago
This is where the command line is split: https://github.com/alire-project/alire/blob/49c04043a3a8d259257729191f5bfe4a104385e5/src/alr/alr-commands-edit.adb#L67
I guess fixing it is not easy and would imply user-visible changes, but the workaround of joining function and string luckily worked.
Thanks, @mgrojo, certainly worth to keep tabs on this but, as you say, not trivial unless we locate some lib with ready-to-use cleverer splitting of strings.
Related to #1313
As commented in the emacs ada-mode users list:
When the config file is edited and space added:
And then Emacs errors:
command-line-1: End of file during parsing
That can be attributed to Alire, it's splitting the command assuming spaces as separator, so command lines containing spaces inside arguments are not supported. Using shell syntax (e.g. single quotes) inside the config file doesn't work either.
It's a very limited need and maybe difficult to solve it portably, but I think it deserves its own issue.