On 21 June 2010 22:29, Nick Treleaven <nick.trelea...@btinternet.com> wrote: > On Mon, 21 Jun 2010 08:57:16 +1000 > Lex Trotman <ele...@gmail.com> wrote: > >> >> 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. > > The base path should be the root of all project files.
Whilst I always do it this way (at least so far) the devil in me wants to know why this is a requirement? > >> >> You are right, there is no way to tell, and it also has to work >> without a project so initially I am only going to offer the options >> save none, save current or save all. > > Perhaps that is OK. Ok. > >> >> Because of the way the build dialog is planned to operate it is >> actually easier to make this an option you can choose per menu item. >> This also makes it possible to choose to save all for the make >> commands and only save current for the compile commands if thats how >> you want it to operate. > > Lex, this makes the design too complex. A global pref would be enough. It actually makes no difference to the implementation, all it changes is the dialog that the option is on, so if everyone is happy that a single global pref is acceptable from the user point of view then I'll do that. Cheers Lex > > Regards, > Nick > _______________________________________________ > Geany-devel mailing list > Geany-devel@uvena.de > http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel > _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel