[Geany-devel] save all on build - Re: Patches required by gproject

Jiří Techet techet at xxxxx
Sun Jun 20 15:08:40 UTC 2010


On Sat, Jun 19, 2010 at 00:22, Lex Trotman <elextr at gmail.com> wrote:
> On 19 June 2010 03:22, Nick Treleaven <nick.treleaven at btinternet.com> wrote:
>> On Fri, 18 Jun 2010 21:42:59 +1000
>> Lex Trotman <elextr at gmail.com> wrote:
>>
>>> >> I remember there was some discussion about saving everything when I
>>> >> started the build system changes.  I don't remember why it wasn't
>>> >> done. Can anyone think of a reason to not save all files? If no one
>>> >> can then I'll consider it a bug.
>>> >
>>> > What if you didn't want all the files saved? I think it's safe to save
>>> > the current file as the user is currently looking at it. But they may
>>> > have modified other files they haven't decided to save yet.
>>>
>>> Well until the Geany mind reading module is perfected... :-)
>>>
>>> I guess the usual answer, add a preference setting.  I really find it
>>> a @#$%^ nuisance when I forget to save all the files I want to compile
>>> :-(
>>
>> I don't think it's a good pref for Geany to save all open files. This
>> pref is perhaps better suited only for files in the current project's
>> path.
>
> Well, it should be at least the tree, not just the path, but the
> reason for the grouch above was that I had just done it *again*, and
> all I had was one .hpp and one .cpp, no project in sight.

I agree that there should be an option in preferences. On the other
hand, I understand that with how the geany project works it doesn't
know what files belong to the project - the subtree starting from
base_path may be a subset of the project and you have no way to tell
whether an open file outside the tree belongs to the project or not.
For gproject it's clear what files are included in the project (all
files satisfying the given pattern inside a certain directory) so it
makes more sense to do it by default there.

Cheers,

Jiri

>
> In other words, I don't think its just project related, people who
> don't use projects are just as likely to make the mistake.
>
> Cheers
> Lex
>
>
>>
>> Regards,
>> Nick
>> _______________________________________________
>> Geany-devel mailing list
>> Geany-devel at uvena.de
>> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>



More information about the Devel mailing list