Re: [Geany-Devel] Improving FiF

2013-10-12 Thread Dimitar Zhekov
On Fri, 11 Oct 2013 20:18:50 +0200 Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 11.10.2013 20:08, schrieb Dimitar Zhekov: Proposition: Remove the combo box. Add a paste icon on the right of files, above the Directory selection icon, and set it's tooltip to Paste the

Re: [Geany-Devel] Improving FiF

2013-10-12 Thread Dimitar Zhekov
On Sat, 12 Oct 2013 08:24:56 +1100 Lex Trotman ele...@gmail.com wrote: The key point of the project option is that the file patterns are stored in the *project* file not in the *user* preferences. I know, and never proposed to make patterns indicated as project editable. Hopefully explained

Re: [Geany-Devel] Improving FiF

2013-10-12 Thread Lex Trotman
[...] I wasn't meaning to argue *for* a combo, just the distinction between project and custom/non-project/whatever. As we agreed, all is redundant if the delete is available, so a project check box is fine by me so long as it does the same as the project setting on the combo. Since

Re: [Geany-Devel] Improving FiF

2013-10-11 Thread Thomas Martitz
Am 11.10.2013 20:08, schrieb Dimitar Zhekov: Proposition: Remove the combo box. Add a paste icon on the right of files, above the Directory selection icon, and set it's tooltip to Paste the project patterns, if any. This is not the same functionality, choosing project on the combo is a

Re: [Geany-Devel] Improving FiF

2013-10-11 Thread Thomas Martitz
Am 10.10.2013 03:43, schrieb Matthew Brush: On 13-10-09 01:01 PM, Dimitar Zhekov wrote: Hi, all, I want to discuss how our FiF works, why, and possible improvements. 1. The FiF dialog is created programatically. Is there any reason for that, or simply nobody cared to XML-ize it? I'm not aware

Re: [Geany-Devel] Improving FiF

2013-10-11 Thread Thomas Martitz
Am 11.10.2013 21:30, schrieb Thomas Martitz: I agree with the idea of moving it into glade files where it's more easily hackable. Try my patched glate from [1]. It should solve the volatile XML output. [1]: https://github.com/kugel-/glade/tree/glade-3-8-fixes :)

Re: [Geany-Devel] Improving FiF

2013-10-11 Thread Lex Trotman
[...] custom - this is exactly the same as entering something in Files. Well, its Not Project, ie you need some way to switch away from using project settings, how good Custom is as a name is open. So it only exists because Project exists, and has no intrinsic value. The key point of

[Geany-Devel] Improving FiF

2013-10-09 Thread Dimitar Zhekov
Hi, all, I want to discuss how our FiF works, why, and possible improvements. 1. The FiF dialog is created programatically. Is there any reason for that, or simply nobody cared to XML-ize it? I'm not aware of anything that can be done gtk+ calls, but can't be done by loading a XML and less gtk+

Re: [Geany-Devel] Improving FiF

2013-10-09 Thread Lex Trotman
On 10 October 2013 07:01, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: Hi, all, I want to discuss how our FiF works, why, and possible improvements. 1. The FiF dialog is created programatically. Is there any reason for that, or simply nobody cared to XML-ize it? I'm not aware of anything

Re: [Geany-Devel] Improving FiF

2013-10-09 Thread Lex Trotman
[...] 3. For non-recursive searches, grep does not allow a directory to be specified instead of file. To work around that, we read the directory, back-parse all --include=*.x patterns, and match them manually. Proposition: grep -rl --include=*.c --exclude-dir=[^.]* --exclude-dir=.?* void .

Re: [Geany-Devel] Improving FiF

2013-10-09 Thread Matthew Brush
On 13-10-09 07:15 PM, Lex Trotman wrote: [...] 3. For non-recursive searches, grep does not allow a directory to be specified instead of file. To work around that, we read the directory, back-parse all --include=*.x patterns, and match them manually. Proposition: grep -rl --include=*.c