On 12 August 2010 23:03, Erik de Castro Lopo mle+tools@mega-nerd.com wrote:
Lex Trotman wrote:
How does this work with geany some_dir_that_doesn't_exist/some_file_that_doesn't_exist?
Well it doesn't crash or do the wrong thing :-). Instead it puts up a dialog box saying "Error saving file. No such file or directory". The user can then choose to do SaveAs and save it to an directory that does exist.
I guess thats a reasonable response to the situation :-)
IIUC the check of real path is to catch missing directories and let the user choose what to do
That may be so, but the pre-patch behaviour of the asking for a SaveAs path even when a valid path was specified previously is just annoying.
I suppose so, I got over the command line back in the eighties & now tend to do things from the GUI. :-D
Sorry, I've still got this nagging suspicion that the there was a discussion a while back of some problem that the realpath check guarded, but I can't find it now of course :-( So unless someone else finds it in the mailing list past or remembers it I guess its ok.
Cheers Lex
Erik
Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel