[Github-comments] [geany/geany] Remove "-I" and "-F" opts from the default options for grep options (#1684)

elextr notifications at xxxxx
Fri Nov 10 08:12:53 UTC 2017


To answer my own question above, since `-F` is applied by the regex selection, clearly those are not all compatible, so while the `-I` can go in the extra options as default, the `-F` can't.

I suggest a single configuration file option that has a list of values separated by `;` so `g_key_file` understands it and can help raed it.  It would contain the base options and a pair for each setting in the order [here](https://github.com/geany/geany/blob/bc7e64f78f33ef867c9c1dfc2dc3ab76fd962ed1/src/search.c#L1553) where an empty value means no option, so the default value is:
```
FIF_options=nHI;v;;i;;w;;r;;F;E;
```
It can be made visible in a single entry in `Preferences->Tools` that has lots of empty space so the entry can have a big explanatory prompt and locate it just below the `grep` entry.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1684#issuecomment-343404451
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171110/15b6f85f/attachment.html>


More information about the Github-comments mailing list