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

Lex Trotman elextr at xxxxx
Fri Jun 18 11:42:59 UTC 2010


On 18 June 2010 21:14, Nick Treleaven <nick.treleaven at btinternet.com> wrote:
> On Fri, 18 Jun 2010 08:20:42 +1000
> Lex Trotman <elextr at gmail.com> wrote:
>
>> >>> [PATCH 1/3] Add a signal that is emitted before build starts
>> >
>> > I want to be able to save all project files before the build starts.
>> > Currently geany saves only the active file but does nothing with the
>> > other open files, so you may be compiling the old version. I think
>> > emitting the signal before build might be useful for other plugins too
>> > (e.g. if they pre-process the files before the build and so on)
>>
>> I think that all files should always be saved when a build starts,
>> manys the time I've edited both .h and then .c file, hit build and
>> only the .c is saved. Gripe grump etc...
>>
>> 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
:-(

Cheers
Lex

>
> Regards,
> Nick
> _______________________________________________
> 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