Hi,
You are right. A certain measure is needed.

As the first step, how about making effective the --literal
option to the default command and the -c command?

$ global --from-here=40:guix.scm %gcc-bootstrap-tarball?
(error message)

$ global --from-here=40:guix.scm --literal %gcc-bootstrap-tarball?
(no error message)

Now, the --literal option is effective only to the -g command.



2014-03-23 10:12 GMT+09:00 Leo Liu <[email protected]>:

> In a scheme (language) project where there are many tags with ?, I am
> constantly getting:
>
>         $ global --from-here=40:guix.scm %gcc-bootstrap-tarball?
>         global: regular expression is not allowed with the --from-here
> option.
>
> Isn't it better to treat the pattern as literal instead of an error. One
> can get the same error from `completion' (i.e. -c) by using any regexp
> metachar(?$+. etc). Could this error be removed and replaced with
> something that does the right thing?
>
> Thanks,
> Leo
>
>
> _______________________________________________
> Bug-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-global
>



-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to