On Tue, Jun 28, 2011 at 19:52, Dimitar Zhekov <[email protected]> wrote: > On Tue, 28 Jun 2011 19:28:12 +0200 > Stephan Beal <[email protected]> wrote: > >> Is there an option to enable the use of relative paths in the project files? > > From the look of get_session_file_string(), no. > > I remember such a discussion taking place some time ago. It was not so > straightforward - for example, what about the files not under the > project directory? Store /var/log/foo as [../]{N times}/var/log/foo? Or, > for files in a nearby directory, break them each time you copy the > project and open it from the new location? (Well the last operation is > dangerous currently - you'll be working on the previous files.) > > It would have been nice to store anything under the project directory > as relative, and everything outside as absolute, but some of the > developers opposed even to that, can't remember why. There was also > talk about storing each filename as both relative and absolute, and try > to open the relative first. I thought that was implemented, but don't > see it anywhere. So, for now, what you see in the title is what you get.
This is a part of my not-yet-reviewed patches. The only difference is that I try to open the absolute paths before the relative ones to keep the patch as compatible with the current behaviour as possible. But it's not a problem to swap the order (it looks it makes more sense when reading Stephan's problems). Cheers, Jiri _______________________________________________ Geany mailing list [email protected] https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
